#30420A#30420A

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

Color values

HEX#30420A
RGBrgb(48, 66, 10)
HSLhsl(79, 74%, 15%)
HSVhsv(79, 85%, 26%)
CMYKcmyk(27.3%, 0%, 84.8%, 74.1%)
CIE-LABlab(25.40, -16.64, 29.57)
CIE-LCHlch(25.40, 33.93, 119.37°)
OKLaboklab(35.13% -0.0481 0.0656)
OKLCHoklch(35.13% 0.081 126.2)
XYZxyz(3.2219, 4.5467, 0.9949)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30420A #1C0A42
analogous
#42380A #30420A #14420A
triadic
#30420A #0A3042 #420A30
tetradic
#30420A #0A4238 #1C0A42 #420A14
square
#30420A #0A4238 #1C0A42 #420A14
split-complementary
#30420A #0A1442 #380A42
monochromatic
#131B04 #131B04 #30420A #577712 #7DAC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30420A#FFFFFF#000000##FFFFFF
##30420A1.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)
#463D02
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#323E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30420a;
/* rgb */ color: rgb(48, 66, 10);
/* oklch */ color: oklch(35.1% 0.081 126.2);
Tailwind
colors: {
  custom: {
    50: '#6b764e',
    500: '#30420a',
    950: '#000000',
  },
}
SCSS
$custom: #30420a;
$custom-light: #6b764e;
$custom-dark: #000000;
JSON
{
  "hex": "#30420a",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 79.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35128,
    "c": 0.08132,
    "h": 126.2
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#30420A
secondary
#44297F
accent
#37F073
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30420A

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

Preview Lab → · Contrast checker → · Palette generator →

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