#30420F

Closest named color: Dark Olive (#373E02). oklch(35.2% 0.078 126.9), rgb(48, 66, 15).

Aa

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

About this color

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

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

Values

HEX#30420F
RGBrgb(48, 66, 15)
HSLhsl(81, 63%, 16%)
OKLCHoklch(35.2% 0.078 126.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 #30420F 10.98:1 AAA Lc -99.2 Preferred for body text
Black text on #30420F 1.91:1 Fails Lc 8.6 Not readable
#30420F text on white 10.98:1 AAA Lc 95.3 Preferred for body text
#30420F text on black 1.91:1 Fails Lc -7.3 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

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D3DDC7

    oklch(88.4% 0.031 127.1)

  4. Step 300

    300

    #B6C8A0

    oklch(80.9% 0.058 127.4)

  5. Step 400

    400

    #91AC6B

    oklch(70.8% 0.094 127)

  6. Step 500

    500

    #769641

    oklch(63% 0.119 126.8)

  7. Step 600

    600

    #5F801D

    oklch(55.5% 0.129 126.7)

  8. Step 700

    700

    #4E6C0E

    oklch(49% 0.12 126.9)

  9. Step 800

    800

    #405811

    oklch(42.6% 0.099 126.9)

  10. Step 900

    900 (this color)

    #30420F

    oklch(35.2% 0.078 126.9)

  11. Step 950

    950

    #202B0F

    oklch(27.1% 0.049 127.2)

Export this scale for Tailwind in the Tailwind colors tool

#30420F 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)#463D080.037
Deuteranopia (no green cones)#433C130.037
Tritanopia (no blue cones)#323F380.062
Achromatopsia (no color)#3C3C3C0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #30420F

    #30420F

    oklch(35.2% 0.078 126.9)

  • #462F5A

    #462F5A

    oklch(35.2% 0.077 307.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30420F

    #30420F

    oklch(35.2% 0.078 126.9)

  • #463A00

    #463A00

    oklch(35.1% 0.072 96)

  • #0A472A

    #0A472A

    oklch(35.3% 0.078 156.8)

Open the analogous palette in the generator

Split complementary

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

  • #30420F

    #30420F

    oklch(35.2% 0.078 126.9)

  • #313663

    #313663

    oklch(35.2% 0.078 276.8)

  • #542A4A

    #542A4A

    oklch(35.3% 0.077 336.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30420F

    #30420F

    oklch(35.2% 0.078 126.9)

  • #123E61

    #123E61

    oklch(35.3% 0.077 246.6)

  • #5C2834

    #5C2834

    oklch(35.3% 0.077 7.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30420F

    #30420F

    oklch(35.2% 0.078 126.9)

  • #004350

    #004350

    oklch(35.3% 0.063 216)

  • #462F5A

    #462F5A

    oklch(35.2% 0.077 307.5)

  • #5C2A1C

    #5C2A1C

    oklch(35.1% 0.077 36.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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