#424212#424212

#424212 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.8% C 0.067 H 109.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#424212
RGBrgb(66, 66, 18)
HSLhsl(60, 57%, 16%)
HSVhsv(60, 73%, 26%)
CMYKcmyk(0%, 0%, 72.7%, 74.1%)
CIE-LABlab(27.01, -7.18, 28.11)
CIE-LCHlch(27.01, 29.01, 104.33°)
OKLaboklab(36.83% -0.0222 0.0635)
OKLCHoklch(36.83% 0.067 109.3)
XYZxyz(4.3043, 5.0985, 1.3295)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424212 #121242
analogous
#422A12 #424212 #2A4212
triadic
#424212 #124242 #421242
tetradic
#424212 #12422A #121242 #42122A
square
#424212 #12422A #121242 #42122A
split-complementary
#424212 #122A42 #2A1242
monochromatic
#181807 #181807 #424212 #72721F #A2A22C

Accessibility & contrast

On white

10.40
#424212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#424212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424212
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424212#FFFFFF#000000##FFFFFF
##4242121.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#484115
Tritanopia (blue-blind)
#473D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #424212;
/* rgb */ color: rgb(66, 66, 18);
/* oklch */ color: oklch(36.8% 0.067 109.3);
Tailwind
colors: {
  custom: {
    50: '#787653',
    500: '#424212',
    950: '#000000',
  },
}
SCSS
$custom: #424212;
$custom-light: #787653;
$custom-dark: #000000;
JSON
{
  "hex": "#424212",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.06727,
    "h": 109.3
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#424212
secondary
#35357B
accent
#47E047
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #424212

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

Preview Lab → · Contrast checker → · Palette generator →

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