#424D12#424D12

#424D12 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.8% C 0.082 H 119.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#424D12
RGBrgb(66, 77, 18)
HSLhsl(71, 62%, 19%)
HSVhsv(71, 77%, 30%)
CMYKcmyk(14.3%, 0%, 76.6%, 69.8%)
CIE-LABlab(30.66, -13.67, 31.83)
CIE-LCHlch(30.66, 34.64, 113.24°)
OKLaboklab(39.76% -0.0403 0.0713)
OKLCHoklch(39.76% 0.082 119.5)
XYZxyz(5.0099, 6.5097, 1.5647)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424D12 #1D124D
analogous
#4D3A12 #424D12 #244D12
triadic
#424D12 #12424D #4D1242
tetradic
#424D12 #124D3A #1D124D #4D1224
square
#424D12 #124D3A #1D124D #4D1224
split-complementary
#424D12 #12244D #3A124D
monochromatic
#151906 #171B06 #424D12 #6D7F1E #97B029

Accessibility & contrast

On white

9.12
#424D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#424D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424D12
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424D12#FFFFFF#000000##FFFFFF
##424D121.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#464841
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #424d12;
/* rgb */ color: rgb(66, 77, 18);
/* oklch */ color: oklch(39.8% 0.082 119.5);
Tailwind
colors: {
  custom: {
    50: '#787e54',
    500: '#424d12',
    950: '#000000',
  },
}
SCSS
$custom: #424d12;
$custom-light: #787e54;
$custom-dark: #000000;
JSON
{
  "hex": "#424d12",
  "rgb": {
    "r": 66,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 71.186,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.08194,
    "h": 119.5
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#424D12
secondary
#443586
accent
#43E561
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #424D12

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

Preview Lab → · Contrast checker → · Palette generator →

#424D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva