#5C8A2F#5C8A2F

#5C8A2F is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.131 H 132.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5C8A2F
RGBrgb(92, 138, 47)
HSLhsl(90, 49%, 36%)
HSVhsv(90, 66%, 54%)
CMYKcmyk(33.3%, 0%, 65.9%, 45.9%)
CIE-LABlab(52.57, -31.42, 42.39)
CIE-LCHlch(52.57, 52.76, 126.55°)
OKLaboklab(58.05% -0.0881 0.0974)
OKLCHoklch(58.05% 0.131 132.1)
XYZxyz(14.0150, 20.6570, 5.9375)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A2F #5D2F8A
analogous
#8A8A2F #5C8A2F #2F8A30
triadic
#5C8A2F #2F5C8A #8A2F5C
tetradic
#5C8A2F #2F8A8A #5D2F8A #8A302F
square
#5C8A2F #2F8A8A #5D2F8A #8A302F
split-complementary
#5C8A2F #302F8A #8A2F8A
monochromatic
#1F2F10 #3E5C1F #5C8A2F #7AB83F #99CC68

Accessibility & contrast

On white

4.09
#5C8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5C8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A2F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A2F#FFFFFF#000000##000000
##5C8A2F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#5D8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a2f;
/* rgb */ color: rgb(92, 138, 47);
/* oklch */ color: oklch(58.0% 0.131 132.1);
Tailwind
colors: {
  custom: {
    50: '#8dac6c',
    500: '#5c8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a2f;
$custom-light: #8dac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a2f",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 90.33,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.13136,
    "h": 132.1
  },
  "luminance": 0.20658
}

Semantic roles & 50–950 ramp

primary
#5C8A2F
secondary
#8B62B3
accent
#4FD995
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

#5C8A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva