#5E9823#5E9823

#5E9823 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.157 H 132.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E9823
RGBrgb(94, 152, 35)
HSLhsl(90, 63%, 37%)
HSVhsv(90, 77%, 60%)
CMYKcmyk(38.2%, 0%, 77%, 40.4%)
CIE-LABlab(57.03, -37.88, 51.74)
CIE-LCHlch(57.03, 64.12, 126.21°)
OKLaboklab(61.69% -0.1068 0.1153)
OKLCHoklch(61.69% 0.157 132.8)
XYZxyz(16.1475, 24.9568, 5.5561)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9823 #5D2398
analogous
#989823 #5E9823 #239823
triadic
#5E9823 #235E98 #98235E
tetradic
#5E9823 #239898 #5D2398 #982323
square
#5E9823 #239898 #5D2398 #982323
split-complementary
#5E9823 #232398 #982398
monochromatic
#20350C #3F6618 #5E9823 #7DCA2E #9BD95C

Accessibility & contrast

On white

3.50
#5E9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5E9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9823
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9823#FFFFFF#000000##000000
##5E98231.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C07
Deuteranopia (green-blind)
#97872F
Tritanopia (blue-blind)
#5F9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e9823;
/* rgb */ color: rgb(94, 152, 35);
/* oklch */ color: oklch(61.7% 0.157 132.8);
Tailwind
colors: {
  custom: {
    50: '#91b767',
    500: '#5e9823',
    950: '#000000',
  },
}
SCSS
$custom: #5e9823;
$custom-light: #91b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9823",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 89.744,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.15712,
    "h": 132.8
  },
  "luminance": 0.24958
}

Semantic roles & 50–950 ramp

primary
#5E9823
secondary
#8B59BE
accent
#42E693
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9823

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

Preview Lab → · Contrast checker → · Palette generator →

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