#5E9121#5E9121

#5E9121 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.9% C 0.149 H 131.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5E9121
RGBrgb(94, 145, 33)
HSLhsl(87, 63%, 35%)
HSVhsv(87, 77%, 57%)
CMYKcmyk(35.2%, 0%, 77.2%, 43.1%)
CIE-LABlab(54.80, -34.89, 50.28)
CIE-LCHlch(54.80, 61.20, 124.76°)
OKLaboklab(59.86% -0.0988 0.1119)
OKLCHoklch(59.86% 0.149 131.5)
XYZxyz(15.0159, 22.7397, 5.0366)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9121 #542191
analogous
#918C21 #5E9121 #269121
triadic
#5E9121 #215E91 #91215E
tetradic
#5E9121 #21918C #542191 #912126
square
#5E9121 #21918C #542191 #912126
split-complementary
#5E9121 #212691 #8C2191
monochromatic
#1D2D0A #3E5F16 #5E9121 #7EC32C #9CD854

Accessibility & contrast

On white

3.79
#5E9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5E9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9121
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9121#FFFFFF#000000##000000
##5E91211.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988606
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#608B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e9121;
/* rgb */ color: rgb(94, 145, 33);
/* oklch */ color: oklch(59.9% 0.149 131.5);
Tailwind
colors: {
  custom: {
    50: '#90b165',
    500: '#5e9121',
    950: '#000000',
  },
}
SCSS
$custom: #5e9121;
$custom-light: #90b165;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9121",
  "rgb": {
    "r": 94,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 87.321,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.1493,
    "h": 131.5
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#5E9121
secondary
#8252BC
accent
#42E68D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9121

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

Preview Lab → · Contrast checker → · Palette generator →

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