#424E12#424E12

#424E12 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.083 H 120.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#424E12
RGBrgb(66, 78, 18)
HSLhsl(72, 63%, 19%)
HSVhsv(72, 77%, 31%)
CMYKcmyk(15.4%, 0%, 76.9%, 69.4%)
CIE-LABlab(31.00, -14.23, 32.16)
CIE-LCHlch(31.00, 35.17, 113.87°)
OKLaboklab(40.03% -0.0419 0.072)
OKLCHoklch(40.03% 0.083 120.2)
XYZxyz(5.0804, 6.6507, 1.5882)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424E12 #1E124E
analogous
#4E3C12 #424E12 #244E12
triadic
#424E12 #12424E #4E1242
tetradic
#424E12 #124E3C #1E124E #4E1224
square
#424E12 #124E3C #1E124E #4E1224
split-complementary
#424E12 #12244E #3C124E
monochromatic
#151906 #181C07 #424E12 #6C801D #96B129

Accessibility & contrast

On white

9.01
#424E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#424E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424E12
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424E12#FFFFFF#000000##FFFFFF
##424E121.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#464942
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #424e12;
/* rgb */ color: rgb(66, 78, 18);
/* oklch */ color: oklch(40.0% 0.083 120.2);
Tailwind
colors: {
  custom: {
    50: '#787f54',
    500: '#424e12',
    950: '#000000',
  },
}
SCSS
$custom: #424e12;
$custom-light: #787f54;
$custom-dark: #000000;
JSON
{
  "hex": "#424e12",
  "rgb": {
    "r": 66,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.08333,
    "h": 120.2
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#424E12
secondary
#453587
accent
#42E663
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #424E12

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

Preview Lab → · Contrast checker → · Palette generator →

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