#04945F

Closest named color: Viridian (#1E9167). oklch(58.8% 0.134 159.2), rgb(4, 148, 95).

Aa

Black text reads best on this color (5.40:1).

About this color

#04945F is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.134 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.018 away. Black text reads best on it, at 5.40:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.40:1
White text3.88:1

Values

HEX#04945F
RGBrgb(4, 148, 95)
HSLhsl(158, 95%, 30%)
OKLCHoklch(58.8% 0.134 159.2)

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 #04945F 3.88:1 AA large text Lc -71.2 Content text, not long reading
Black text on #04945F 5.40:1 AA Lc 38.4 Non-text elements, placeholder text
#04945F text on white 3.88:1 AA large text Lc 65.7 Content text, not long reading
#04945F text on black 5.40:1 AA Lc -36.0 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EEE6

    oklch(93.7% 0.017 159.1)

  3. Step 200

    200

    #C7E0D1

    oklch(88.4% 0.033 159.3)

  4. Step 300

    300

    #A0CDB3

    oklch(80.9% 0.06 159.4)

  5. Step 400

    400

    #68B38B

    oklch(70.7% 0.096 159.3)

  6. Step 500

    500

    #35A06E

    oklch(63.2% 0.124 159.1)

  7. Step 600

    600 (this color)

    #04945F

    oklch(58.8% 0.134 159.2)

  8. Step 700

    700

    #007349

    oklch(49% 0.112 159.4)

  9. Step 800

    800

    #005F3B

    oklch(42.8% 0.098 159.1)

  10. Step 900

    900

    #0C4E32

    oklch(37.7% 0.08 159.5)

  11. Step 950

    950

    #0B2E1D

    oklch(27% 0.051 158.7)

Export this scale for Tailwind in the Tailwind colors tool

#04945F 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)#92885C0.124
Deuteranopia (no green cones)#847D630.122
Tritanopia (no blue cones)#0093860.059
Achromatopsia (no color)#8181810.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #04945F

    #04945F

    oklch(58.8% 0.134 159.2)

  • #AF5A97

    #AF5A97

    oklch(58.9% 0.134 339)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04945F

    #04945F

    oklch(58.8% 0.134 159.2)

  • #638B29

    #638B29

    oklch(58.7% 0.134 129.1)

  • #009089

    #009089

    oklch(58.9% 0.102 188.8)

Open the analogous palette in the generator

Split complementary

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

  • #04945F

    #04945F

    oklch(58.8% 0.134 159.2)

  • #9464B8

    #9464B8

    oklch(58.8% 0.133 309.2)

  • #BD566C

    #BD566C

    oklch(58.7% 0.134 8.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04945F

    #04945F

    oklch(58.8% 0.134 159.2)

  • #6D72CA

    #6D72CA

    oklch(58.9% 0.133 279)

  • #BE5C3B

    #BE5C3B

    oklch(58.8% 0.135 39)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04945F

    #04945F

    oklch(58.8% 0.134 159.2)

  • #3181C8

    #3181C8

    oklch(58.9% 0.133 249)

  • #AF5A97

    #AF5A97

    oklch(58.9% 0.134 339)

  • #AD6C00

    #AD6C00

    oklch(58.8% 0.128 68.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04945F 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.