#051202

Closest named color: Almost Black (#070D0D). oklch(16.4% 0.042 138), rgb(5, 18, 2).

Aa

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

About this color

#051202 is a very dark, muted green. In OKLCH its lightness is 16%, its chroma 0.042 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.039 away. White text reads best on it, at 19.19:1.

Hue familyGreens
Lightnessvery dark (16%)
Chromamuted (0.042)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.09:1
White text19.19:1

Values

HEX#051202
RGBrgb(5, 18, 2)
HSLhsl(109, 80%, 4%)
OKLCHoklch(16.4% 0.042 138)

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 #051202 19.19:1 AAA Lc -107.5 Preferred for body text
Black text on #051202 1.09:1 Fails Lc 0.0 Not readable
#051202 text on white 19.19:1 AAA Lc 105.5 Preferred for body text
#051202 text on black 1.09: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

    #F3F6F2

    oklch(97% 0.006 137.8)

  2. Step 100

    100

    #E5ECE3

    oklch(93.5% 0.014 138.7)

  3. Step 200

    200

    #D1DECC

    oklch(88.6% 0.028 136.9)

  4. Step 300

    300

    #B1C9AA

    oklch(80.9% 0.05 138.6)

  5. Step 400

    400

    #89AD7C

    oklch(70.8% 0.08 137.5)

  6. Step 500

    500

    #6B985B

    oklch(63.2% 0.1 137.8)

  7. Step 600

    600

    #528240

    oklch(55.6% 0.109 137.8)

  8. Step 700

    700

    #426E32

    oklch(49.1% 0.102 138)

  9. Step 800

    800

    #375A2A

    oklch(42.8% 0.085 137.8)

  10. Step 900

    900

    #304A26

    oklch(37.8% 0.066 137.5)

  11. Step 950

    950 (this color)

    #051202

    oklch(16.4% 0.042 138)

Export this scale for Tailwind in the Tailwind colors tool

#051202 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)#1310010.027
Deuteranopia (no green cones)#110E030.028
Tritanopia (no blue cones)#04110E0.029
Achromatopsia (no color)#0F0F0F0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #051202

    #051202

    oklch(16.4% 0.042 138)

  • #150819

    #150819

    oklch(16.4% 0.04 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051202

    #051202

    oklch(16.4% 0.042 138)

  • #100F00

    #100F00

    oklch(16.4% 0.035 107)

  • #00120B

    #00120B

    oklch(16.2% 0.033 168.4)

Open the analogous palette in the generator

Split complementary

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

  • #051202

    #051202

    oklch(16.4% 0.042 138)

  • #0D0A1F

    #0D0A1F

    oklch(16.2% 0.043 287.2)

  • #1A0611

    #1A0611

    oklch(16.3% 0.041 347.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051202

    #051202

    oklch(16.4% 0.042 138)

  • #040E20

    #040E20

    oklch(16.5% 0.042 258.9)

  • #1D0607

    #1D0607

    oklch(16.5% 0.042 19.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051202

    #051202

    oklch(16.4% 0.042 138)

  • #001019

    #001019

    oklch(16.2% 0.033 230.6)

  • #150819

    #150819

    oklch(16.4% 0.04 317.9)

  • #1C0701

    #1C0701

    oklch(16.3% 0.042 45)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #051202 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.