#575212#575212

#575212 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.082 H 104.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#575212
RGBrgb(87, 82, 18)
HSLhsl(56, 66%, 21%)
HSVhsv(56, 79%, 34%)
CMYKcmyk(0%, 5.7%, 79.3%, 65.9%)
CIE-LABlab(34.20, -6.23, 35.94)
CIE-LCHlch(34.20, 36.47, 99.83°)
OKLaboklab(43.06% -0.0209 0.0792)
OKLCHoklch(43.06% 0.082 104.8)
XYZxyz(7.0573, 8.1048, 1.7648)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575212 #121757
analogous
#572F12 #575212 #395712
triadic
#575212 #125752 #521257
tetradic
#575212 #12572F #121757 #571239
square
#575212 #12572F #121757 #571239
split-complementary
#575212 #123957 #2F1257
monochromatic
#191805 #242208 #575212 #8A821C #BCB227

Accessibility & contrast

On white

8.01
#575212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#575212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575212
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575212#FFFFFF#000000##FFFFFF
##5752121.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#5E4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #575212;
/* rgb */ color: rgb(87, 82, 18);
/* oklch */ color: oklch(43.1% 0.082 104.8);
Tailwind
colors: {
  custom: {
    50: '#898255',
    500: '#575212',
    950: '#000000',
  },
}
SCSS
$custom: #575212;
$custom-light: #898255;
$custom-dark: #000000;
JSON
{
  "hex": "#575212",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 55.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.08194,
    "h": 104.8
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#575212
secondary
#353C90
accent
#4BE93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #575212

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

Preview Lab → · Contrast checker → · Palette generator →

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