#576012#576012

#576012 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.6% C 0.098 H 116.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#576012
RGBrgb(87, 96, 18)
HSLhsl(67, 68%, 22%)
HSVhsv(67, 81%, 38%)
CMYKcmyk(9.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(38.61, -14.26, 40.08)
CIE-LCHlch(38.61, 42.54, 109.59°)
OKLaboklab(46.59% -0.0433 0.088)
OKLCHoklch(46.59% 0.098 116.2)
XYZxyz(8.2228, 10.4358, 2.1533)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#576012 #1B1260
analogous
#604212 #576012 #306012
triadic
#576012 #125760 #601257
tetradic
#576012 #126042 #1B1260 #601230
square
#576012 #126042 #1B1260 #601230
split-complementary
#576012 #123060 #421260
monochromatic
#171A05 #282C08 #576012 #86941C #B4C725

Accessibility & contrast

On white

6.80
#576012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#576012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #576012
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##576012#FFFFFF#000000##FFFFFF
##5760121.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B01
Deuteranopia (green-blind)
#675B19
Tritanopia (blue-blind)
#5D5A51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #576012;
/* rgb */ color: rgb(87, 96, 18);
/* oklch */ color: oklch(46.6% 0.098 116.2);
Tailwind
colors: {
  custom: {
    50: '#898d57',
    500: '#576012',
    950: '#000000',
  },
}
SCSS
$custom: #576012;
$custom-light: #898d57;
$custom-dark: #000000;
JSON
{
  "hex": "#576012",
  "rgb": {
    "r": 87,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 66.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.09808,
    "h": 116.2
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#576012
secondary
#413698
accent
#3DEB51
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #576012

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

Preview Lab → · Contrast checker → · Palette generator →

#576012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva