#30420D#30420D

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

Color values

HEX#30420D
RGBrgb(48, 66, 13)
HSLhsl(80, 67%, 15%)
HSVhsv(80, 80%, 26%)
CMYKcmyk(27.3%, 0%, 80.3%, 74.1%)
CIE-LABlab(25.42, -16.43, 28.33)
CIE-LCHlch(25.42, 32.75, 120.12°)
OKLaboklab(35.15% -0.0472 0.0636)
OKLCHoklch(35.15% 0.079 126.6)
XYZxyz(3.2398, 4.5538, 1.0890)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30420D #1F0D42
analogous
#42390D #30420D #15420D
triadic
#30420D #0D3042 #420D30
tetradic
#30420D #0D4239 #1F0D42 #420D15
square
#30420D #0D4239 #1F0D42 #420D15
split-complementary
#30420D #0D1542 #390D42
monochromatic
#131A05 #131A05 #30420D #557517 #7AA821

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30420D#FFFFFF#000000##FFFFFF
##30420D1.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)
#463D05
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#323F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30420d;
/* rgb */ color: rgb(48, 66, 13);
/* oklch */ color: oklch(35.2% 0.079 126.6);
Tailwind
colors: {
  custom: {
    50: '#6a7650',
    500: '#30420d',
    950: '#000000',
  },
}
SCSS
$custom: #30420d;
$custom-light: #6a7650;
$custom-dark: #000000;
JSON
{
  "hex": "#30420d",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 80.377,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.07917,
    "h": 126.6
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#30420D
secondary
#492D7E
accent
#3EEA78
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30420D

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

Preview Lab → · Contrast checker → · Palette generator →

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