#575F1F#575F1F

#575F1F is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.4% C 0.087 H 115.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#575F1F
RGBrgb(87, 95, 31)
HSLhsl(68, 51%, 25%)
HSVhsv(68, 67%, 37%)
CMYKcmyk(8.4%, 0%, 67.4%, 62.7%)
CIE-LABlab(38.39, -12.89, 34.40)
CIE-LCHlch(38.39, 36.73, 110.54°)
OKLaboklab(46.45% -0.0381 0.0784)
OKLCHoklch(46.45% 0.087 115.9)
XYZxyz(8.2702, 10.3097, 2.8504)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575F1F #271F5F
analogous
#5F471F #575F1F #375F1F
triadic
#575F1F #1F575F #5F1F57
tetradic
#575F1F #1F5F47 #271F5F #5F1F37
square
#575F1F #1F5F47 #271F5F #5F1F37
split-complementary
#575F1F #1F375F #471F5F
monochromatic
#151708 #2D3110 #575F1F #818D2E #ACBB3D

Accessibility & contrast

On white

6.86
#575F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#575F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #575F1F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575F1F#FFFFFF#000000##FFFFFF
##575F1F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A17
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#5D5A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #575f1f;
/* rgb */ color: rgb(87, 95, 31);
/* oklch */ color: oklch(46.4% 0.087 115.9);
Tailwind
colors: {
  custom: {
    50: '#888c5e',
    500: '#575f1f',
    950: '#000000',
  },
}
SCSS
$custom: #575f1f;
$custom-light: #888c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#575f1f",
  "rgb": {
    "r": 87,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 67.5,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.08716,
    "h": 115.9
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#575F1F
secondary
#504694
accent
#4EDA5F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #575F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#575F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva