#045220

Closest named color: Forest (#0B5509). oklch(38.4% 0.106 148.8), rgb(4, 82, 32).

Aa

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

About this color

#045220 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.106 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.024 away. White text reads best on it, at 9.40:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.23:1
White text9.40:1

Values

HEX#045220
RGBrgb(4, 82, 32)
HSLhsl(142, 91%, 17%)
OKLCHoklch(38.4% 0.106 148.8)

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 #045220 9.40:1 AAA Lc -95.6 Preferred for body text
Black text on #045220 2.23:1 Fails Lc 12.7 Not readable
#045220 text on white 9.40:1 AAA Lc 91.2 Preferred for body text
#045220 text on black 2.23:1 Fails Lc -11.1 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

    #F1F8F2

    oklch(97.2% 0.011 149.9)

  2. Step 100

    100

    #E0EEE2

    oklch(93.5% 0.022 149.7)

  3. Step 200

    200

    #C6E2C9

    oklch(88.5% 0.045 148.2)

  4. Step 300

    300

    #9DCFA5

    oklch(80.8% 0.079 149.2)

  5. Step 400

    400

    #62B673

    oklch(70.6% 0.128 148.9)

  6. Step 500

    500

    #28A34D

    oklch(63% 0.163 148.7)

  7. Step 600

    600

    #008B39

    oklch(55.6% 0.158 148.7)

  8. Step 700

    700

    #00752F

    oklch(49.1% 0.139 148.8)

  9. Step 800

    800

    #006025

    oklch(42.7% 0.121 148.7)

  10. Step 900

    900 (this color)

    #045220

    oklch(38.4% 0.106 148.8)

  11. Step 950

    950

    #072F12

    oklch(27% 0.068 148.6)

Export this scale for Tailwind in the Tailwind colors tool

#045220 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)#534A1B0.085
Deuteranopia (no green cones)#4B44240.085
Tritanopia (no blue cones)#0050470.062
Achromatopsia (no color)#4646460.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #045220

    #045220

    oklch(38.4% 0.106 148.8)

  • #612B5F

    #612B5F

    oklch(38.4% 0.106 328.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045220

    #045220

    oklch(38.4% 0.106 148.8)

  • #3F4900

    #3F4900

    oklch(38.3% 0.089 118.3)

  • #004F44

    #004F44

    oklch(38.3% 0.07 179.3)

Open the analogous palette in the generator

Split complementary

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

  • #045220

    #045220

    oklch(38.4% 0.106 148.8)

  • #4C3473

    #4C3473

    oklch(38.5% 0.105 299)

  • #6E2642

    #6E2642

    oklch(38.5% 0.106 359.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045220

    #045220

    oklch(38.4% 0.106 148.8)

  • #2C3E7B

    #2C3E7B

    oklch(38.3% 0.106 268.7)

  • #712720

    #712720

    oklch(38.2% 0.106 28.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045220

    #045220

    oklch(38.4% 0.106 148.8)

  • #00496C

    #00496C

    oklch(38.5% 0.086 238.4)

  • #612B5F

    #612B5F

    oklch(38.4% 0.106 328.8)

  • #663500

    #663500

    oklch(38.4% 0.091 58.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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