#576212#576212

#576212 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.1% C 0.101 H 117.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#576212
RGBrgb(87, 98, 18)
HSLhsl(68, 69%, 23%)
HSVhsv(68, 82%, 38%)
CMYKcmyk(11.2%, 0%, 81.6%, 61.6%)
CIE-LABlab(39.25, -15.37, 40.66)
CIE-LCHlch(39.25, 43.47, 110.70°)
OKLaboklab(47.11% -0.0464 0.0892)
OKLCHoklch(47.11% 0.101 117.5)
XYZxyz(8.4076, 10.8054, 2.2149)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#576212 #1D1262
analogous
#624512 #576212 #2F6212
triadic
#576212 #125762 #621257
tetradic
#576212 #126245 #1D1262 #62122F
square
#576212 #126245 #1D1262 #62122F
split-complementary
#576212 #122F62 #451262
monochromatic
#171A05 #292E09 #576212 #85961B #B3C925

Accessibility & contrast

On white

6.64
#576212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#576212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #576212
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##576212#FFFFFF#000000##FFFFFF
##5762121.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#5D5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #576212;
/* rgb */ color: rgb(87, 98, 18);
/* oklch */ color: oklch(47.1% 0.101 117.5);
Tailwind
colors: {
  custom: {
    50: '#898e58',
    500: '#576212',
    950: '#000000',
  },
}
SCSS
$custom: #576212;
$custom-light: #898e58;
$custom-dark: #000000;
JSON
{
  "hex": "#576212",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 68.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.10057,
    "h": 117.5
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#576212
secondary
#44369A
accent
#3CEC54
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #576212

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

Preview Lab → · Contrast checker → · Palette generator →

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