#404227

Closest named color: Dark Olive (#373E02). oklch(37% 0.043 111.9), rgb(64, 66, 39).

Aa

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

About this color

#404227 is a dark, muted brown. In OKLCH its lightness is 37%, its chroma 0.043 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.043 away. White text reads best on it, at 10.36:1.

Hue familyBrowns
Lightnessdark (37%)
Chromamuted (0.043)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.02:1
White text10.36:1

Values

HEX#404227
RGBrgb(64, 66, 39)
HSLhsl(64, 26%, 21%)
OKLCHoklch(37% 0.043 111.9)

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 #404227 10.36:1 AAA Lc -98.1 Preferred for body text
Black text on #404227 2.02:1 Fails Lc 9.9 Not readable
#404227 text on white 10.36:1 AAA Lc 94.1 Preferred for body text
#404227 text on black 2.02:1 Fails Lc -8.5 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACD

    oklch(88.4% 0.018 110.3)

  4. Step 300

    300

    #C1C3AC

    oklch(80.9% 0.032 111.1)

  5. Step 400

    400

    #A1A47F

    oklch(70.6% 0.052 111.5)

  6. Step 500

    500

    #8A8E5F

    oklch(63.1% 0.066 112.2)

  7. Step 600

    600

    #747845

    oklch(55.7% 0.072 112.4)

  8. Step 700

    700

    #616537

    oklch(49.2% 0.067 112.9)

  9. Step 800

    800

    #50522E

    oklch(42.7% 0.054 111.2)

  10. Step 900

    900 (this color)

    #404227

    oklch(37% 0.043 111.9)

  11. Step 950

    950

    #272818

    oklch(27.1% 0.028 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#404227 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)#4640250.011
Deuteranopia (no green cones)#4640280.012
Tritanopia (no blue cones)#433F3B0.037
Achromatopsia (no color)#4040400.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #404227

    #404227

    oklch(37% 0.043 111.9)

  • #403C55

    #403C55

    oklch(37.1% 0.043 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404227

    #404227

    oklch(37% 0.043 111.9)

  • #4B3D25

    #4B3D25

    oklch(36.8% 0.042 80.3)

  • #334630

    #334630

    oklch(37.1% 0.044 141.2)

Open the analogous palette in the generator

Split complementary

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

  • #404227

    #404227

    oklch(37% 0.043 111.9)

  • #334057

    #334057

    oklch(37% 0.043 261.6)

  • #4A384D

    #4A384D

    oklch(36.9% 0.042 321.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404227

    #404227

    oklch(37% 0.043 111.9)

  • #274452

    #274452

    oklch(37% 0.042 230.3)

  • #523642

    #523642

    oklch(37% 0.044 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404227

    #404227

    oklch(37% 0.043 111.9)

  • #214649

    #214649

    oklch(36.8% 0.043 202.4)

  • #403C55

    #403C55

    oklch(37.1% 0.043 291.5)

  • #543735

    #543735

    oklch(37% 0.042 23.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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