#577226#577226

#577226 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.108 H 126.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#577226
RGBrgb(87, 114, 38)
HSLhsl(81, 50%, 30%)
HSVhsv(81, 67%, 45%)
CMYKcmyk(23.7%, 0%, 66.7%, 55.3%)
CIE-LABlab(44.52, -22.50, 37.68)
CIE-LCHlch(44.52, 43.89, 120.84°)
OKLaboklab(51.4% -0.0641 0.0864)
OKLCHoklch(51.4% 0.108 126.6)
XYZxyz(10.2977, 14.2006, 4.0318)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#577226 #412672
analogous
#726726 #577226 #317226
triadic
#577226 #265772 #722657
tetradic
#577226 #267267 #412672 #722631
square
#577226 #267267 #412672 #722631
split-complementary
#577226 #263172 #672672
monochromatic
#121708 #344417 #577226 #7AA035 #9AC44E

Accessibility & contrast

On white

5.47
#577226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#577226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #577226
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##577226#FFFFFF#000000##FFFFFF
##5772261.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#5A6D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #577226;
/* rgb */ color: rgb(87, 114, 38);
/* oklch */ color: oklch(51.4% 0.108 126.6);
Tailwind
colors: {
  custom: {
    50: '#899a64',
    500: '#577226',
    950: '#000000',
  },
}
SCSS
$custom: #577226;
$custom-light: #899a64;
$custom-dark: #000000;
JSON
{
  "hex": "#577226",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 81.316,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.10755,
    "h": 126.6
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#577226
secondary
#6E4FA5
accent
#4EDA80
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #577226

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

Preview Lab → · Contrast checker → · Palette generator →

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