#5C8A2A#5C8A2A

#5C8A2A is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.135 H 131.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C8A2A
RGBrgb(92, 138, 42)
HSLhsl(89, 53%, 35%)
HSVhsv(89, 70%, 54%)
CMYKcmyk(33.3%, 0%, 69.6%, 45.9%)
CIE-LABlab(52.53, -31.83, 44.51)
CIE-LCHlch(52.53, 54.72, 125.57°)
OKLaboklab(58% -0.0897 0.1012)
OKLCHoklch(58% 0.135 131.5)
XYZxyz(13.9199, 20.6189, 5.4365)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A2A #582A8A
analogous
#8A882A #5C8A2A #2C8A2A
triadic
#5C8A2A #2A5C8A #8A2A5C
tetradic
#5C8A2A #2A8A88 #582A8A #8A2A2C
square
#5C8A2A #2A8A88 #582A8A #8A2A2C
split-complementary
#5C8A2A #2A2C8A #882A8A
monochromatic
#1D2C0D #3D5B1C #5C8A2A #7BB938 #9ACF60

Accessibility & contrast

On white

4.10
#5C8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5C8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A2A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A2A#FFFFFF#000000##000000
##5C8A2A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#5E8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a2a;
/* rgb */ color: rgb(92, 138, 42);
/* oklch */ color: oklch(58.0% 0.135 131.5);
Tailwind
colors: {
  custom: {
    50: '#8eac69',
    500: '#5c8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a2a;
$custom-light: #8eac69;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a2a",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 88.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.13523,
    "h": 131.5
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#5C8A2A
secondary
#865BB4
accent
#4BDD91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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