#30420E#30420E

#30420E is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.078 H 126.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#30420E
RGBrgb(48, 66, 14)
HSLhsl(81, 65%, 16%)
HSVhsv(81, 79%, 26%)
CMYKcmyk(27.3%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.43, -16.36, 27.89)
CIE-LCHlch(25.43, 32.33, 120.39°)
OKLaboklab(35.16% -0.0469 0.0628)
OKLCHoklch(35.16% 0.078 126.7)
XYZxyz(3.2464, 4.5565, 1.1238)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30420E #200E42
analogous
#423A0E #30420E #16420E
triadic
#30420E #0E3042 #420E30
tetradic
#30420E #0E423A #200E42 #420E16
square
#30420E #0E423A #200E42 #420E16
split-complementary
#30420E #0E1642 #3A0E42
monochromatic
#121905 #121905 #30420E #557419 #79A723

Accessibility & contrast

On white

10.99
#30420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#30420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30420E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30420E#FFFFFF#000000##FFFFFF
##30420E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D06
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#323F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30420e;
/* rgb */ color: rgb(48, 66, 14);
/* oklch */ color: oklch(35.2% 0.078 126.7);
Tailwind
colors: {
  custom: {
    50: '#6a7650',
    500: '#30420e',
    950: '#000000',
  },
}
SCSS
$custom: #30420e;
$custom-light: #6a7650;
$custom-dark: #000000;
JSON
{
  "hex": "#30420e",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 80.769,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35161,
    "c": 0.0784,
    "h": 126.7
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#30420E
secondary
#4A2F7D
accent
#40E87A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30420E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#30420E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva