#5E9827#5E9827

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

Color values

HEX#5E9827
RGBrgb(94, 152, 39)
HSLhsl(91, 59%, 37%)
HSVhsv(91, 74%, 60%)
CMYKcmyk(38.2%, 0%, 74.3%, 40.4%)
CIE-LABlab(57.06, -37.62, 50.34)
CIE-LCHlch(57.06, 62.84, 126.78°)
OKLaboklab(61.72% -0.1058 0.113)
OKLCHoklch(61.72% 0.155 133.1)
XYZxyz(16.2103, 24.9819, 5.8869)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9827 #612798
analogous
#979827 #5E9827 #279828
triadic
#5E9827 #275E98 #98275E
tetradic
#5E9827 #279798 #612798 #982827
square
#5E9827 #279798 #612798 #982827
split-complementary
#5E9827 #282798 #982797
monochromatic
#22370E #40671B #5E9827 #7CC933 #9BD763

Accessibility & contrast

On white

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

On black

6.00
#5E9827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9827
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9827#FFFFFF#000000##000000
##5E98271.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C11
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#5E9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e9827;
/* rgb */ color: rgb(94, 152, 39);
/* oklch */ color: oklch(61.7% 0.155 133.1);
Tailwind
colors: {
  custom: {
    50: '#91b769',
    500: '#5e9827',
    950: '#000000',
  },
}
SCSS
$custom: #5e9827;
$custom-light: #91b769;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9827",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 90.796,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.15476,
    "h": 133.1
  },
  "luminance": 0.24983
}

Semantic roles & 50–950 ramp

primary
#5E9827
secondary
#8F5EBC
accent
#45E296
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9827

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

Preview Lab → · Contrast checker → · Palette generator →

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