#5C8A23#5C8A23

#5C8A23 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.140 H 130.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5C8A23
RGBrgb(92, 138, 35)
HSLhsl(87, 60%, 34%)
HSVhsv(87, 75%, 54%)
CMYKcmyk(33.3%, 0%, 74.6%, 45.9%)
CIE-LABlab(52.48, -32.34, 47.25)
CIE-LCHlch(52.48, 57.26, 124.39°)
OKLaboklab(57.94% -0.0916 0.1059)
OKLCHoklch(57.94% 0.14 130.9)
XYZxyz(13.8054, 20.5731, 4.8334)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A23 #51238A
analogous
#8A8523 #5C8A23 #298A23
triadic
#5C8A23 #235C8A #8A235C
tetradic
#5C8A23 #238A85 #51238A #8A2329
square
#5C8A23 #238A85 #51238A #8A2329
split-complementary
#5C8A23 #23298A #85238A
monochromatic
#1B280A #3B5917 #5C8A23 #7DBB2F #9BD454

Accessibility & contrast

On white

4.11
#5C8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5C8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A23
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A23#FFFFFF#000000##000000
##5C8A231.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F10
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a23;
/* rgb */ color: rgb(92, 138, 35);
/* oklch */ color: oklch(57.9% 0.140 130.9);
Tailwind
colors: {
  custom: {
    50: '#8eac65',
    500: '#5c8a23',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a23;
$custom-light: #8eac65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a23",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 86.796,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.14006,
    "h": 130.9
  },
  "luminance": 0.20574
}

Semantic roles & 50–950 ramp

primary
#5C8A23
secondary
#7F51B7
accent
#45E38B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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