#424A12#424A12

#424A12 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.0% C 0.078 H 117.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#424A12
RGBrgb(66, 74, 18)
HSLhsl(69, 61%, 18%)
HSVhsv(69, 76%, 29%)
CMYKcmyk(10.8%, 0%, 75.7%, 71%)
CIE-LABlab(29.66, -11.94, 30.82)
CIE-LCHlch(29.66, 33.05, 111.18°)
OKLaboklab(38.95% -0.0355 0.0692)
OKLCHoklch(38.95% 0.078 117.2)
XYZxyz(4.8048, 6.0995, 1.4964)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424A12 #1A124A
analogous
#4A3612 #424A12 #264A12
triadic
#424A12 #12424A #4A1242
tetradic
#424A12 #124A36 #1A124A #4A1226
square
#424A12 #124A36 #1A124A #4A1226
split-complementary
#424A12 #12264A #36124A
monochromatic
#161906 #161906 #424A12 #6E7B1E #9AAC2A

Accessibility & contrast

On white

9.46
#424A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#424A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424A12
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424A12#FFFFFF#000000##FFFFFF
##424A121.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4609
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#46453F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #424a12;
/* rgb */ color: rgb(66, 74, 18);
/* oklch */ color: oklch(39.0% 0.078 117.2);
Tailwind
colors: {
  custom: {
    50: '#787c54',
    500: '#424a12',
    950: '#000000',
  },
}
SCSS
$custom: #424a12;
$custom-light: #787c54;
$custom-dark: #000000;
JSON
{
  "hex": "#424a12",
  "rgb": {
    "r": 66,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 68.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.07781,
    "h": 117.2
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#424A12
secondary
#403583
accent
#44E45B
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090903
muted
#7B7B78

Preview Lab

Preview with #424A12

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

Preview Lab → · Contrast checker → · Palette generator →

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