#05271C

Closest named color: Jet (#212529). oklch(24.5% 0.044 167.4), rgb(5, 39, 28).

Aa

White text reads best on this color (15.98:1).

About this color

#05271C is a very dark, muted green. In OKLCH its lightness is 24%, its chroma 0.044 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.047 away. White text reads best on it, at 15.98:1.

Hue familyGreens
Lightnessvery dark (24%)
Chromamuted (0.044)
Temperaturein between
Nearest nameJet (#212529)
Black text1.31:1
White text15.98:1

Values

HEX#05271C
RGBrgb(5, 39, 28)
HSLhsl(161, 77%, 9%)
OKLCHoklch(24.5% 0.044 167.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #05271C 15.98:1 AAA Lc -105.4 Preferred for body text
Black text on #05271C 1.31:1 Fails Lc 0.0 Not readable
#05271C text on white 15.98:1 AAA Lc 102.8 Preferred for body text
#05271C text on black 1.31:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE8

    oklch(93.6% 0.014 169.2)

  3. Step 200

    200

    #C8E0D5

    oklch(88.6% 0.03 166.4)

  4. Step 300

    300

    #A1CCBA

    oklch(80.9% 0.052 167.6)

  5. Step 400

    400

    #69B296

    oklch(70.8% 0.085 167.4)

  6. Step 500

    500

    #389E7C

    oklch(63.1% 0.108 167.3)

  7. Step 600

    600

    #008866

    oklch(55.6% 0.113 167.6)

  8. Step 700

    700

    #007255

    oklch(49% 0.1 167.6)

  9. Step 800

    800

    #005E45

    oklch(42.8% 0.088 167.1)

  10. Step 900

    900

    #0E4D3A

    oklch(37.6% 0.07 167.8)

  11. Step 950

    950 (this color)

    #05271C

    oklch(24.5% 0.044 167.4)

Export this scale for Tailwind in the Tailwind colors tool

#05271C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#26241B0.044
Deuteranopia (no green cones)#21201D0.043
Tritanopia (no blue cones)#0027240.015
Achromatopsia (no color)#2222220.045

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #05271C

    #05271C

    oklch(24.5% 0.044 167.4)

  • #301724

    #301724

    oklch(24.5% 0.045 348.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05271C

    #05271C

    oklch(24.5% 0.044 167.4)

  • #162510

    #162510

    oklch(24.4% 0.043 137.3)

  • #002627

    #002627

    oklch(24.4% 0.041 197.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #05271C

    #05271C

    oklch(24.5% 0.044 167.4)

  • #29192E

    #29192E

    oklch(24.4% 0.045 317.9)

  • #331718

    #331718

    oklch(24.5% 0.045 18.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05271C

    #05271C

    oklch(24.5% 0.044 167.4)

  • #1F1D34

    #1F1D34

    oklch(24.5% 0.043 286.7)

  • #31190D

    #31190D

    oklch(24.4% 0.044 46.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05271C

    #05271C

    oklch(24.5% 0.044 167.4)

  • #122135

    #122135

    oklch(24.5% 0.044 256)

  • #301724

    #301724

    oklch(24.5% 0.045 348.5)

  • #2C1D05

    #2C1D05

    oklch(24.4% 0.044 76.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #05271C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #05271C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.