#575A12#575A12

#575A12 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.091 H 112.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#575A12
RGBrgb(87, 90, 18)
HSLhsl(63, 67%, 21%)
HSVhsv(63, 80%, 35%)
CMYKcmyk(3.3%, 0%, 80%, 64.7%)
CIE-LABlab(36.71, -10.89, 38.31)
CIE-LCHlch(36.71, 39.82, 105.87°)
OKLaboklab(45.07% -0.034 0.0842)
OKLCHoklch(45.07% 0.091 112)
XYZxyz(7.6961, 9.3824, 1.9777)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575A12 #15125A
analogous
#5A3912 #575A12 #335A12
triadic
#575A12 #12575A #5A1257
tetradic
#575A12 #125A39 #15125A #5A1233
square
#575A12 #125A39 #15125A #5A1233
split-complementary
#575A12 #12335A #39125A
monochromatic
#191A05 #262708 #575A12 #888D1C #BAC026

Accessibility & contrast

On white

7.30
#575A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#575A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575A12
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575A12#FFFFFF#000000##FFFFFF
##575A121.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625504
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#5E544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #575a12;
/* rgb */ color: rgb(87, 90, 18);
/* oklch */ color: oklch(45.1% 0.091 112.0);
Tailwind
colors: {
  custom: {
    50: '#898856',
    500: '#575a12',
    950: '#000000',
  },
}
SCSS
$custom: #575a12;
$custom-light: #898856;
$custom-dark: #000000;
JSON
{
  "hex": "#575a12",
  "rgb": {
    "r": 87,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 62.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.09083,
    "h": 112
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#575A12
secondary
#393593
accent
#3EEA45
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #575A12

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

Preview Lab → · Contrast checker → · Palette generator →

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