#579238#579238

#579238 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 59.9% C 0.138 H 136.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#579238
RGBrgb(87, 146, 56)
HSLhsl(99, 45%, 40%)
HSVhsv(99, 62%, 57%)
CMYKcmyk(40.4%, 0%, 61.6%, 42.7%)
CIE-LABlab(54.94, -36.03, 40.80)
CIE-LCHlch(54.94, 54.43, 131.44°)
OKLaboklab(59.93% -0.0997 0.0952)
OKLCHoklch(59.93% 0.138 136.3)
XYZxyz(14.9228, 22.8688, 7.3684)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579238 #733892
analogous
#849238 #579238 #389246
triadic
#579238 #385792 #923857
tetradic
#579238 #388492 #733892 #924638
square
#579238 #388492 #733892 #924638
split-complementary
#579238 #463892 #923884
monochromatic
#223A16 #3D6627 #579238 #72BB4D #95CC79

Accessibility & contrast

On white

3.77
#579238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#579238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579238
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579238#FFFFFF#000000##000000
##5792381.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872E
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#558D7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579238;
/* rgb */ color: rgb(87, 146, 56);
/* oklch */ color: oklch(59.9% 0.138 136.3);
Tailwind
colors: {
  custom: {
    50: '#8bb272',
    500: '#579238',
    950: '#000000',
  },
}
SCSS
$custom: #579238;
$custom-light: #8bb272;
$custom-dark: #000000;
JSON
{
  "hex": "#579238",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 56
  },
  "hsl": {
    "h": 99.333,
    "s": 44.554,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59933,
    "c": 0.13782,
    "h": 136.3
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#579238
secondary
#9D71B5
accent
#54D4A8
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #579238

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

Preview Lab → · Contrast checker → · Palette generator →

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