#424712#424712

#424712 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.2% C 0.074 H 114.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#424712
RGBrgb(66, 71, 18)
HSLhsl(66, 60%, 17%)
HSVhsv(66, 75%, 28%)
CMYKcmyk(7%, 0%, 74.6%, 72.2%)
CIE-LABlab(28.66, -10.19, 29.81)
CIE-LCHlch(28.66, 31.50, 108.87°)
OKLaboklab(38.15% -0.0306 0.0671)
OKLCHoklch(38.15% 0.074 114.6)
XYZxyz(4.6093, 5.7085, 1.4312)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424712 #171247
analogous
#473112 #424712 #284712
triadic
#424712 #124247 #471242
tetradic
#424712 #124731 #171247 #471228
square
#424712 #124731 #171247 #471228
split-complementary
#424712 #122847 #311247
monochromatic
#171806 #171806 #424712 #6F781E #9DA92B

Accessibility & contrast

On white

9.81
#424712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#424712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424712
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424712#FFFFFF#000000##FFFFFF
##4247121.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430A
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#47423C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #424712;
/* rgb */ color: rgb(66, 71, 18);
/* oklch */ color: oklch(38.2% 0.074 114.6);
Tailwind
colors: {
  custom: {
    50: '#787a53',
    500: '#424712',
    950: '#000000',
  },
}
SCSS
$custom: #424712;
$custom-light: #787a53;
$custom-dark: #000000;
JSON
{
  "hex": "#424712",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 65.66,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.07374,
    "h": 114.6
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#424712
secondary
#3C3580
accent
#45E354
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #424712

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

Preview Lab → · Contrast checker → · Palette generator →

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