#577212#577212

#577212 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.121 H 125.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#577212
RGBrgb(87, 114, 18)
HSLhsl(77, 73%, 26%)
HSVhsv(77, 84%, 45%)
CMYKcmyk(23.7%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.38, -23.78, 45.32)
CIE-LCHlch(44.38, 51.18, 117.68°)
OKLaboklab(51.25% -0.0694 0.0991)
OKLCHoklch(51.25% 0.121 125)
XYZxyz(10.0571, 14.1044, 2.7647)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#577212 #2D1272
analogous
#725D12 #577212 #277212
triadic
#577212 #125772 #721257
tetradic
#577212 #12725D #2D1272 #721227
square
#577212 #12725D #2D1272 #721227
split-complementary
#577212 #122772 #5D1272
monochromatic
#141A04 #2F3D0A #577212 #7FA71A #A8DC23

Accessibility & contrast

On white

5.50
#577212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#577212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #577212
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##577212#FFFFFF#000000##FFFFFF
##5772121.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#5B6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #577212;
/* rgb */ color: rgb(87, 114, 18);
/* oklch */ color: oklch(51.2% 0.121 125.0);
Tailwind
colors: {
  custom: {
    50: '#8a9a5a',
    500: '#577212',
    950: '#000000',
  },
}
SCSS
$custom: #577212;
$custom-light: #8a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#577212",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 76.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.12099,
    "h": 125
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#577212
secondary
#5737A9
accent
#38EF6C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #577212

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

Preview Lab → · Contrast checker → · Palette generator →

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