#424228#424228

#424228 is a dark, muted yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.041 H 108.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#424228
RGBrgb(66, 66, 40)
HSLhsl(60, 25%, 21%)
HSVhsv(60, 39%, 26%)
CMYKcmyk(0%, 0%, 39.4%, 74.1%)
CIE-LABlab(27.32, -4.80, 15.86)
CIE-LCHlch(27.32, 16.57, 106.84°)
OKLaboklab(37.18% -0.0129 0.0391)
OKLCHoklch(37.18% 0.041 108.2)
XYZxyz(4.5780, 5.2080, 2.7711)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424228 #282842
analogous
#423528 #424228 #354228
triadic
#424228 #284242 #422842
tetradic
#424228 #284235 #282842 #422835
square
#424228 #284235 #282842 #422835
split-complementary
#424228 #283542 #352842
monochromatic
#13130C #1C1C11 #424228 #68683F #8E8E56

Accessibility & contrast

On white

10.29
#424228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#424228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424228
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424228#FFFFFF#000000##FFFFFF
##4242281.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#464129
Tritanopia (blue-blind)
#463F3B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #424228;
/* rgb */ color: rgb(66, 66, 40);
/* oklch */ color: oklch(37.2% 0.041 108.2);
Tailwind
colors: {
  custom: {
    50: '#777662',
    500: '#424228',
    950: '#000000',
  },
}
SCSS
$custom: #424228;
$custom-light: #777662;
$custom-dark: #000000;
JSON
{
  "hex": "#424228",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.37176,
    "c": 0.04114,
    "h": 108.2
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#424228
secondary
#525274
accent
#67C167
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #424228

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

Preview Lab → · Contrast checker → · Palette generator →

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