#5F570F#5F570F

#5F570F is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.088 H 102.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5F570F
RGBrgb(95, 87, 15)
HSLhsl(54, 73%, 22%)
HSVhsv(54, 84%, 37%)
CMYKcmyk(0%, 8.4%, 84.2%, 62.7%)
CIE-LABlab(36.53, -5.34, 39.51)
CIE-LCHlch(36.53, 39.87, 97.70°)
OKLaboklab(45.1% -0.0192 0.0858)
OKLCHoklch(45.1% 0.088 102.6)
XYZxyz(8.2141, 9.2841, 1.8112)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F570F #0F175F
analogous
#5F2F0F #5F570F #3F5F0F
triadic
#5F570F #0F5F57 #570F5F
tetradic
#5F570F #0F5F2F #0F175F #5F0F3F
square
#5F570F #0F5F2F #0F175F #5F0F3F
split-complementary
#5F570F #0F3F5F #2F0F5F
monochromatic
#1A1804 #2A2707 #5F570F #948717 #C9B820

Accessibility & contrast

On white

7.35
#5F570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5F570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F570F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F570F#FFFFFF#000000##FFFFFF
##5F570F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#625715
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f570f;
/* rgb */ color: rgb(95, 87, 15);
/* oklch */ color: oklch(45.1% 0.088 102.6);
Tailwind
colors: {
  custom: {
    50: '#908655',
    500: '#5f570f',
    950: '#000000',
  },
}
SCSS
$custom: #5f570f;
$custom-light: #908655;
$custom-dark: #000000;
JSON
{
  "hex": "#5f570f",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 54,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.08793,
    "h": 102.6
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#5F570F
secondary
#323C98
accent
#4BEF38
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F570F

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

Preview Lab → · Contrast checker → · Palette generator →

#5F570F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva