#424012#424012

#424012 is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.3% C 0.065 H 106.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#424012
RGBrgb(66, 64, 18)
HSLhsl(58, 57%, 16%)
HSVhsv(58, 73%, 26%)
CMYKcmyk(0%, 3%, 72.7%, 74.1%)
CIE-LABlab(26.36, -5.96, 27.42)
CIE-LCHlch(26.36, 28.06, 102.25°)
OKLaboklab(36.31% -0.0188 0.062)
OKLCHoklch(36.31% 0.065 106.8)
XYZxyz(4.1895, 4.8689, 1.2912)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424012 #121442
analogous
#422812 #424012 #2C4212
triadic
#424012 #124240 #401242
tetradic
#424012 #124228 #121442 #42122C
square
#424012 #124228 #121442 #42122C
split-complementary
#424012 #122C42 #281242
monochromatic
#181707 #181707 #424012 #726F1F #A29D2C

Accessibility & contrast

On white

10.64
#424012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#424012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424012
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424012#FFFFFF#000000##FFFFFF
##4240121.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0C
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#473B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #424012;
/* rgb */ color: rgb(66, 64, 18);
/* oklch */ color: oklch(36.3% 0.065 106.8);
Tailwind
colors: {
  custom: {
    50: '#787453',
    500: '#424012',
    950: '#000000',
  },
}
SCSS
$custom: #424012;
$custom-light: #787453;
$custom-dark: #000000;
JSON
{
  "hex": "#424012",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 57.5,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.06481,
    "h": 106.8
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#424012
secondary
#35387B
accent
#4EE047
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #424012

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

Preview Lab → · Contrast checker → · Palette generator →

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