#575012#575012

#575012 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.080 H 102.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#575012
RGBrgb(87, 80, 18)
HSLhsl(54, 66%, 21%)
HSVhsv(54, 79%, 34%)
CMYKcmyk(0%, 8%, 79.3%, 65.9%)
CIE-LABlab(33.58, -5.03, 35.34)
CIE-LCHlch(33.58, 35.70, 98.11°)
OKLaboklab(42.57% -0.0176 0.078)
OKLCHoklch(42.57% 0.08 102.7)
XYZxyz(6.9086, 7.8075, 1.7152)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575012 #121957
analogous
#572D12 #575012 #3B5712
triadic
#575012 #125750 #501257
tetradic
#575012 #12572D #121957 #57123B
square
#575012 #12572D #121957 #57123B
split-complementary
#575012 #123B57 #2D1257
monochromatic
#191705 #242108 #575012 #8A7F1C #BCAD27

Accessibility & contrast

On white

8.20
#575012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#575012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575012
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575012#FFFFFF#000000##FFFFFF
##5750121.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#5E4A44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #575012;
/* rgb */ color: rgb(87, 80, 18);
/* oklch */ color: oklch(42.6% 0.080 102.7);
Tailwind
colors: {
  custom: {
    50: '#898055',
    500: '#575012',
    950: '#000000',
  },
}
SCSS
$custom: #575012;
$custom-light: #898055;
$custom-dark: #000000;
JSON
{
  "hex": "#575012",
  "rgb": {
    "r": 87,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 53.913,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42568,
    "c": 0.07993,
    "h": 102.7
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#575012
secondary
#353E90
accent
#50E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #575012

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

Preview Lab → · Contrast checker → · Palette generator →

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