#404F02

Closest named color: Navy Green (#35530A). oklch(40% 0.095 121.4), rgb(64, 79, 2).

Aa

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

About this color

#404F02 is a dark, moderately saturated brown. In OKLCH its lightness is 40%, its chroma 0.095 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.017 away. White text reads best on it, at 8.98:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.33:1
White text8.98:1

Values

HEX#404F02
RGBrgb(64, 79, 2)
HSLhsl(72, 95%, 16%)
OKLCHoklch(40% 0.095 121.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 #404F02 8.98:1 AAA Lc -94.9 Preferred for body text
Black text on #404F02 2.33:1 Fails Lc 13.5 Not readable
#404F02 text on white 8.98:1 AAA Lc 90.5 Preferred for body text
#404F02 text on black 2.33:1 Fails Lc -11.8 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 900.

  1. Step 50

    50

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDD

    oklch(93.5% 0.021 121.8)

  3. Step 200

    200

    #D5DEC1

    oklch(88.6% 0.04 121.2)

  4. Step 300

    300

    #B9C895

    oklch(80.8% 0.071 121.3)

  5. Step 400

    400

    #95AC57

    oklch(70.8% 0.115 121.9)

  6. Step 500

    500

    #7C9615

    oklch(63.1% 0.146 121.5)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900 (this color)

    #404F02

    oklch(40% 0.095 121.4)

  11. Step 950

    950

    #222B04

    oklch(27.1% 0.06 121.8)

Export this scale for Tailwind in the Tailwind colors tool

#404F02 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)#5549000.038
Deuteranopia (no green cones)#53490B0.037
Tritanopia (no blue cones)#444A420.081
Achromatopsia (no color)#4949490.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F02

    #404F02

    oklch(40% 0.095 121.4)

  • #513A72

    #513A72

    oklch(40.1% 0.094 301.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F02

    #404F02

    oklch(40% 0.095 121.4)

  • #584500

    #584500

    oklch(39.9% 0.082 90.8)

  • #13562C

    #13562C

    oklch(40.1% 0.096 151.4)

Open the analogous palette in the generator

Split complementary

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

  • #404F02

    #404F02

    oklch(40% 0.095 121.4)

  • #36437B

    #36437B

    oklch(40.1% 0.095 271.7)

  • #64325F

    #64325F

    oklch(40% 0.096 331)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F02

    #404F02

    oklch(40% 0.095 121.4)

  • #004C75

    #004C75

    oklch(39.9% 0.094 241.7)

  • #702F44

    #702F44

    oklch(40.1% 0.095 2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F02

    #404F02

    oklch(40% 0.095 121.4)

  • #00515D

    #00515D

    oklch(39.9% 0.069 211.8)

  • #513A72

    #513A72

    oklch(40.1% 0.094 301.2)

  • #723126

    #723126

    oklch(40% 0.095 31.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404F02 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.