#5C8F34#5C8F34

#5C8F34 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.134 H 133.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5C8F34
RGBrgb(92, 143, 52)
HSLhsl(94, 47%, 38%)
HSVhsv(94, 64%, 56%)
CMYKcmyk(35.7%, 0%, 63.6%, 43.9%)
CIE-LABlab(54.20, -33.27, 41.91)
CIE-LCHlch(54.20, 53.51, 128.45°)
OKLaboklab(59.39% -0.0928 0.097)
OKLCHoklch(59.39% 0.134 133.7)
XYZxyz(14.8557, 22.1675, 6.7442)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F34 #67348F
analogous
#898F34 #5C8F34 #348F39
triadic
#5C8F34 #345C8F #8F345C
tetradic
#5C8F34 #34898F #67348F #8F3934
square
#5C8F34 #34898F #67348F #8F3934
split-complementary
#5C8F34 #39348F #8F3489
monochromatic
#223513 #3F6224 #5C8F34 #79BB45 #99CC72

Accessibility & contrast

On white

3.86
#5C8F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5C8F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F34
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F34#FFFFFF#000000##000000
##5C8F341.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958429
Deuteranopia (green-blind)
#8D803B
Tritanopia (blue-blind)
#5C8A7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c8f34;
/* rgb */ color: rgb(92, 143, 52);
/* oklch */ color: oklch(59.4% 0.134 133.7);
Tailwind
colors: {
  custom: {
    50: '#8eb06f',
    500: '#5c8f34',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f34;
$custom-light: #8eb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f34",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 93.626,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59393,
    "c": 0.13425,
    "h": 133.7
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#5C8F34
secondary
#946BB4
accent
#51D69C
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0D1008
muted
#7D7F7B

Preview Lab

Preview with #5C8F34

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

Preview Lab → · Contrast checker → · Palette generator →

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