#424812#424812

#424812 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.4% C 0.075 H 115.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#424812
RGBrgb(66, 72, 18)
HSLhsl(67, 60%, 18%)
HSVhsv(67, 75%, 28%)
CMYKcmyk(8.3%, 0%, 75%, 71.8%)
CIE-LABlab(29.00, -10.78, 30.15)
CIE-LCHlch(29.00, 32.01, 109.67°)
OKLaboklab(38.42% -0.0323 0.0678)
OKLCHoklch(38.42% 0.075 115.5)
XYZxyz(4.6734, 5.8367, 1.4526)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424812 #181248
analogous
#483312 #424812 #274812
triadic
#424812 #124248 #481242
tetradic
#424812 #124833 #181248 #481227
square
#424812 #124833 #181248 #481227
split-complementary
#424812 #122748 #331248
monochromatic
#161806 #161806 #424812 #6F791E #9CAA2A

Accessibility & contrast

On white

9.69
#424812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#424812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424812
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424812#FFFFFF#000000##FFFFFF
##4248121.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#47433D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #424812;
/* rgb */ color: rgb(66, 72, 18);
/* oklch */ color: oklch(38.4% 0.075 115.5);
Tailwind
colors: {
  custom: {
    50: '#787a53',
    500: '#424812',
    950: '#000000',
  },
}
SCSS
$custom: #424812;
$custom-light: #787a53;
$custom-dark: #000000;
JSON
{
  "hex": "#424812",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 66.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.07509,
    "h": 115.5
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#424812
secondary
#3D3581
accent
#45E356
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #424812

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

Preview Lab → · Contrast checker → · Palette generator →

#424812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva