#575F18#575F18

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

Color values

HEX#575F18
RGBrgb(87, 95, 24)
HSLhsl(67, 60%, 23%)
HSVhsv(67, 75%, 37%)
CMYKcmyk(8.4%, 0%, 74.7%, 62.7%)
CIE-LABlab(38.33, -13.38, 37.48)
CIE-LCHlch(38.33, 39.79, 109.64°)
OKLaboklab(46.38% -0.0403 0.0837)
OKLCHoklch(46.38% 0.093 115.7)
XYZxyz(8.1878, 10.2767, 2.4163)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575F18 #20185F
analogous
#5F4318 #575F18 #335F18
triadic
#575F18 #18575F #5F1857
tetradic
#575F18 #185F43 #20185F #5F1833
square
#575F18 #185F43 #20185F #5F1833
split-complementary
#575F18 #18335F #43185F
monochromatic
#161806 #2A2E0C #575F18 #849024 #B0C131

Accessibility & contrast

On white

6.87
#575F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #575F18
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575F18#FFFFFF#000000##FFFFFF
##575F181.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#5D5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #575f18;
/* rgb */ color: rgb(87, 95, 24);
/* oklch */ color: oklch(46.4% 0.093 115.7);
Tailwind
colors: {
  custom: {
    50: '#898c5a',
    500: '#575f18',
    950: '#000000',
  },
}
SCSS
$custom: #575f18;
$custom-light: #898c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#575f18",
  "rgb": {
    "r": 87,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 66.761,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.09286,
    "h": 115.7
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#575F18
secondary
#473D95
accent
#45E357
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #575F18

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

Preview Lab → · Contrast checker → · Palette generator →

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