#575D12#575D12

#575D12 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.094 H 114.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#575D12
RGBrgb(87, 93, 18)
HSLhsl(65, 68%, 22%)
HSVhsv(65, 81%, 36%)
CMYKcmyk(6.5%, 0%, 80.6%, 63.5%)
CIE-LABlab(37.66, -12.59, 39.19)
CIE-LCHlch(37.66, 41.16, 107.81°)
OKLaboklab(45.83% -0.0387 0.0861)
OKLCHoklch(45.83% 0.094 114.2)
XYZxyz(7.9543, 9.8988, 2.0638)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575D12 #18125D
analogous
#5D3E12 #575D12 #325D12
triadic
#575D12 #12575D #5D1257
tetradic
#575D12 #125D3E #18125D #5D1232
square
#575D12 #125D3E #18125D #5D1232
split-complementary
#575D12 #12325D #3E125D
monochromatic
#181A05 #272A08 #575D12 #87901C #B7C426

Accessibility & contrast

On white

7.05
#575D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#575D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575D12
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575D12#FFFFFF#000000##FFFFFF
##575D121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#5D574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #575d12;
/* rgb */ color: rgb(87, 93, 18);
/* oklch */ color: oklch(45.8% 0.094 114.2);
Tailwind
colors: {
  custom: {
    50: '#898a57',
    500: '#575d12',
    950: '#000000',
  },
}
SCSS
$custom: #575d12;
$custom-light: #898a57;
$custom-dark: #000000;
JSON
{
  "hex": "#575d12",
  "rgb": {
    "r": 87,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 64.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.09441,
    "h": 114.2
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#575D12
secondary
#3D3595
accent
#3DEA4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #575D12

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

Preview Lab → · Contrast checker → · Palette generator →

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