#576812#576812

#576812 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.6% C 0.108 H 120.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#576812
RGBrgb(87, 104, 18)
HSLhsl(72, 70%, 24%)
HSVhsv(72, 83%, 41%)
CMYKcmyk(16.3%, 0%, 82.7%, 59.2%)
CIE-LABlab(41.17, -18.61, 42.42)
CIE-LCHlch(41.17, 46.32, 113.68°)
OKLaboklab(48.65% -0.0553 0.093)
OKLCHoklch(48.65% 0.108 120.7)
XYZxyz(8.9901, 11.9706, 2.4091)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#576812 #231268
analogous
#684E12 #576812 #2C6812
triadic
#576812 #125768 #681257
tetradic
#576812 #12684E #231268 #68122C
square
#576812 #12684E #231268 #68122C
split-complementary
#576812 #122C68 #4E1268
monochromatic
#161A05 #2B3409 #576812 #839C1B #AED024

Accessibility & contrast

On white

6.19
#576812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#576812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #576812
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##576812#FFFFFF#000000##FFFFFF
##5768121.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#5C6258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #576812;
/* rgb */ color: rgb(87, 104, 18);
/* oklch */ color: oklch(48.6% 0.108 120.7);
Tailwind
colors: {
  custom: {
    50: '#899358',
    500: '#576812',
    950: '#000000',
  },
}
SCSS
$custom: #576812;
$custom-light: #899358;
$custom-dark: #000000;
JSON
{
  "hex": "#576812",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 71.86,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.10815,
    "h": 120.7
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#576812
secondary
#4B36A0
accent
#3BED5E
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #576812

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

Preview Lab → · Contrast checker → · Palette generator →

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