#424F12#424F12

#424F12 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.085 H 120.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#424F12
RGBrgb(66, 79, 18)
HSLhsl(73, 63%, 19%)
HSVhsv(73, 77%, 31%)
CMYKcmyk(16.5%, 0%, 77.2%, 69%)
CIE-LABlab(31.33, -14.79, 32.50)
CIE-LCHlch(31.33, 35.71, 114.48°)
OKLaboklab(40.3% -0.0434 0.0727)
OKLCHoklch(40.3% 0.085 120.9)
XYZxyz(5.1520, 6.7939, 1.6121)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424F12 #1F124F
analogous
#4F3E12 #424F12 #244F12
triadic
#424F12 #12424F #4F1242
tetradic
#424F12 #124F3E #1F124F #4F1224
square
#424F12 #124F3E #1F124F #4F1224
split-complementary
#424F12 #12244F #3E124F
monochromatic
#151906 #181D07 #424F12 #6C811D #95B329

Accessibility & contrast

On white

8.90
#424F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#424F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424F12
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424F12#FFFFFF#000000##FFFFFF
##424F121.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#464A43
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #424f12;
/* rgb */ color: rgb(66, 79, 18);
/* oklch */ color: oklch(40.3% 0.085 120.9);
Tailwind
colors: {
  custom: {
    50: '#788054',
    500: '#424f12',
    950: '#000000',
  },
}
SCSS
$custom: #424f12;
$custom-light: #788054;
$custom-dark: #000000;
JSON
{
  "hex": "#424f12",
  "rgb": {
    "r": 66,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 72.787,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.08472,
    "h": 120.9
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#424F12
secondary
#473588
accent
#42E665
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #424F12

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

Preview Lab → · Contrast checker → · Palette generator →

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