#575F12#575F12

#575F12 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.3% C 0.097 H 115.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#575F12
RGBrgb(87, 95, 18)
HSLhsl(66, 68%, 22%)
HSVhsv(66, 81%, 37%)
CMYKcmyk(8.4%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.30, -13.71, 39.78)
CIE-LCHlch(38.30, 42.08, 109.02°)
OKLaboklab(46.34% -0.0418 0.0874)
OKLCHoklch(46.34% 0.097 115.6)
XYZxyz(8.1321, 10.2545, 2.1231)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575F12 #1A125F
analogous
#5F4112 #575F12 #305F12
triadic
#575F12 #12575F #5F1257
tetradic
#575F12 #125F41 #1A125F #5F1230
square
#575F12 #125F41 #1A125F #5F1230
split-complementary
#575F12 #12305F #41125F
monochromatic
#181A05 #282C08 #575F12 #86921C #B5C625

Accessibility & contrast

On white

6.88
#575F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#575F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #575F12
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575F12#FFFFFF#000000##FFFFFF
##575F121.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#5D5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #575f12;
/* rgb */ color: rgb(87, 95, 18);
/* oklch */ color: oklch(46.3% 0.097 115.6);
Tailwind
colors: {
  custom: {
    50: '#898c57',
    500: '#575f12',
    950: '#000000',
  },
}
SCSS
$custom: #575f12;
$custom-light: #898c57;
$custom-dark: #000000;
JSON
{
  "hex": "#575f12",
  "rgb": {
    "r": 87,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 66.234,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.09685,
    "h": 115.6
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#575F12
secondary
#403697
accent
#3DEB4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #575F12

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

Preview Lab → · Contrast checker → · Palette generator →

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