#424217#424217

#424217 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.9% C 0.062 H 109.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#424217
RGBrgb(66, 66, 23)
HSLhsl(60, 48%, 17%)
HSVhsv(60, 65%, 26%)
CMYKcmyk(0%, 0%, 65.2%, 74.1%)
CIE-LABlab(27.06, -6.78, 25.58)
CIE-LCHlch(27.06, 26.46, 104.84°)
OKLaboklab(36.89% -0.0204 0.059)
OKLCHoklch(36.89% 0.062 109.1)
XYZxyz(4.3498, 5.1167, 1.5689)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424217 #171742
analogous
#422D17 #424217 #2D4217
triadic
#424217 #174242 #421742
tetradic
#424217 #17422D #171742 #42172D
square
#424217 #17422D #171742 #42172D
split-complementary
#424217 #172D42 #2D1742
monochromatic
#171708 #171708 #424217 #6F6F27 #9D9D37

Accessibility & contrast

On white

10.38
#424217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #424217
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424217#FFFFFF#000000##FFFFFF
##4242171.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#473E39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #424217;
/* rgb */ color: rgb(66, 66, 23);
/* oklch */ color: oklch(36.9% 0.062 109.1);
Tailwind
colors: {
  custom: {
    50: '#787656',
    500: '#424217',
    950: '#000000',
  },
}
SCSS
$custom: #424217;
$custom-light: #787656;
$custom-dark: #000000;
JSON
{
  "hex": "#424217",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.06242,
    "h": 109.1
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#424217
secondary
#3C3C79
accent
#50D850
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #424217

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

Preview Lab → · Contrast checker → · Palette generator →

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