#304215

Closest named color: Dark Olive (#373E02). oklch(35.2% 0.072 128.1), rgb(48, 66, 21).

Aa

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

About this color

#304215 is a dark, moderately saturated green. In OKLCH its lightness is 35%, its chroma 0.072 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.017 away. White text reads best on it, at 10.96:1.

Hue familyGreens
Lightnessdark (35%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.91:1
White text10.96:1

Values

HEX#304215
RGBrgb(48, 66, 21)
HSLhsl(84, 52%, 17%)
OKLCHoklch(35.2% 0.072 128.1)

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 #304215 10.96:1 AAA Lc -99.1 Preferred for body text
Black text on #304215 1.91:1 Fails Lc 8.6 Not readable
#304215 text on white 10.96:1 AAA Lc 95.3 Preferred for body text
#304215 text on black 1.91:1 Fails Lc -7.4 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE1

    oklch(93.6% 0.016 126.8)

  3. Step 200

    200

    #D3DDC8

    oklch(88.4% 0.03 127.9)

  4. Step 300

    300

    #B6C8A3

    oklch(80.9% 0.054 128.7)

  5. Step 400

    400

    #91AB70

    oklch(70.7% 0.087 127.8)

  6. Step 500

    500

    #76964A

    oklch(63.1% 0.11 128)

  7. Step 600

    600

    #5F802A

    oklch(55.6% 0.12 127.8)

  8. Step 700

    700

    #4E6C1C

    oklch(49.1% 0.112 128)

  9. Step 800

    800

    #40581A

    oklch(42.7% 0.092 128)

  10. Step 900

    900 (this color)

    #304215

    oklch(35.2% 0.072 128.1)

  11. Step 950

    950

    #202B11

    oklch(27.1% 0.047 128.1)

Export this scale for Tailwind in the Tailwind colors tool

#304215 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)#453D100.035
Deuteranopia (no green cones)#433C180.037
Tritanopia (no blue cones)#323F380.056
Achromatopsia (no color)#3C3C3C0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #304215

    #304215

    oklch(35.2% 0.072 128.1)

  • #463058

    #463058

    oklch(35.3% 0.072 308.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304215

    #304215

    oklch(35.2% 0.072 128.1)

  • #453B01

    #453B01

    oklch(35.2% 0.072 98.4)

  • #10462C

    #10462C

    oklch(35.2% 0.072 157.9)

Open the analogous palette in the generator

Split complementary

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

  • #304215

    #304215

    oklch(35.2% 0.072 128.1)

  • #333660

    #333660

    oklch(35.1% 0.073 278.9)

  • #532B48

    #532B48

    oklch(35.2% 0.072 338.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304215

    #304215

    oklch(35.2% 0.072 128.1)

  • #183E5F

    #183E5F

    oklch(35.4% 0.072 247.7)

  • #5A2934

    #5A2934

    oklch(35.1% 0.073 7.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304215

    #304215

    oklch(35.2% 0.072 128.1)

  • #004351

    #004351

    oklch(35.3% 0.063 217.5)

  • #463058

    #463058

    oklch(35.3% 0.072 308.4)

  • #5A2C1E

    #5A2C1E

    oklch(35.1% 0.072 37.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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