#5C8A34#5C8A34

#5C8A34 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.127 H 132.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5C8A34
RGBrgb(92, 138, 52)
HSLhsl(92, 45%, 37%)
HSVhsv(92, 62%, 54%)
CMYKcmyk(33.3%, 0%, 62.3%, 45.9%)
CIE-LABlab(52.62, -30.95, 40.15)
CIE-LCHlch(52.62, 50.69, 127.63°)
OKLaboklab(58.1% -0.0864 0.0933)
OKLCHoklch(58.1% 0.127 132.8)
XYZxyz(14.1217, 20.6997, 6.4995)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A34 #62348A
analogous
#878A34 #5C8A34 #348A37
triadic
#5C8A34 #345C8A #8A345C
tetradic
#5C8A34 #34878A #62348A #8A3734
square
#5C8A34 #34878A #62348A #8A3734
split-complementary
#5C8A34 #37348A #8A3487
monochromatic
#213113 #3E5E23 #5C8A34 #7AB645 #99C96F

Accessibility & contrast

On white

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

On black

5.14
#5C8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A34
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A34#FFFFFF#000000##000000
##5C8A341.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802A
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#5D8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a34;
/* rgb */ color: rgb(92, 138, 52);
/* oklch */ color: oklch(58.1% 0.127 132.8);
Tailwind
colors: {
  custom: {
    50: '#8dac6f',
    500: '#5c8a34',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a34;
$custom-light: #8dac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a34",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 92.093,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.12716,
    "h": 132.8
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#5C8A34
secondary
#8F69B1
accent
#53D598
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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