#579A1F#579A1F

#579A1F is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.8% C 0.165 H 134.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#579A1F
RGBrgb(87, 154, 31)
HSLhsl(93, 66%, 36%)
HSVhsv(93, 80%, 60%)
CMYKcmyk(43.5%, 0%, 79.9%, 39.6%)
CIE-LABlab(57.30, -41.43, 53.19)
CIE-LCHlch(57.30, 67.42, 127.92°)
OKLaboklab(61.81% -0.1162 0.1178)
OKLCHoklch(61.81% 0.165 134.6)
XYZxyz(15.7331, 25.2355, 5.3380)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579A1F #621F9A
analogous
#959A1F #579A1F #1F9A25
triadic
#579A1F #1F579A #9A1F57
tetradic
#579A1F #1F959A #621F9A #9A251F
square
#579A1F #1F959A #621F9A #9A251F
split-complementary
#579A1F #251F9A #9A1F95
monochromatic
#1D340A #3A6715 #579A1F #74CD29 #94DD56

Accessibility & contrast

On white

3.47
#579A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#579A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579A1F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579A1F#FFFFFF#000000##000000
##579A1F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#569483
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #579a1f;
/* rgb */ color: rgb(87, 154, 31);
/* oklch */ color: oklch(61.8% 0.165 134.6);
Tailwind
colors: {
  custom: {
    50: '#8db866',
    500: '#579a1f',
    950: '#000000',
  },
}
SCSS
$custom: #579a1f;
$custom-light: #8db866;
$custom-dark: #000000;
JSON
{
  "hex": "#579a1f",
  "rgb": {
    "r": 87,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 92.683,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.16546,
    "h": 134.6
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#579A1F
secondary
#8F54C1
accent
#3EE99C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #579A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#579A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva