#30420B#30420B

#30420B is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.081 H 126.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#30420B
RGBrgb(48, 66, 11)
HSLhsl(80, 71%, 15%)
HSVhsv(80, 83%, 26%)
CMYKcmyk(27.3%, 0%, 83.3%, 74.1%)
CIE-LABlab(25.41, -16.57, 29.17)
CIE-LCHlch(25.41, 33.55, 119.60°)
OKLaboklab(35.14% -0.0478 0.0649)
OKLCHoklch(35.14% 0.081 126.3)
XYZxyz(3.2276, 4.5489, 1.0245)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30420B #1D0B42
analogous
#42380B #30420B #15420B
triadic
#30420B #0B3042 #420B30
tetradic
#30420B #0B4238 #1D0B42 #420B15
square
#30420B #0B4238 #1D0B42 #420B15
split-complementary
#30420B #0B1542 #380B42
monochromatic
#131A04 #131A04 #30420B #567614 #7CAB1C

Accessibility & contrast

On white

11.00
#30420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30420B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30420B#FFFFFF#000000##FFFFFF
##30420B1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D03
Deuteranopia (green-blind)
#443C10
Tritanopia (blue-blind)
#323E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30420b;
/* rgb */ color: rgb(48, 66, 11);
/* oklch */ color: oklch(35.1% 0.081 126.3);
Tailwind
colors: {
  custom: {
    50: '#6b764e',
    500: '#30420b',
    950: '#000000',
  },
}
SCSS
$custom: #30420b;
$custom-light: #6b764e;
$custom-dark: #000000;
JSON
{
  "hex": "#30420b",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 79.636,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.08064,
    "h": 126.3
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#30420B
secondary
#462A7F
accent
#3AEE75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30420B

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

Preview Lab → · Contrast checker → · Palette generator →

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