#5E9021#5E9021

#5E9021 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.148 H 131.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E9021
RGBrgb(94, 144, 33)
HSLhsl(87, 63%, 35%)
HSVhsv(87, 77%, 56%)
CMYKcmyk(34.7%, 0%, 77.1%, 43.5%)
CIE-LABlab(54.49, -34.44, 49.98)
CIE-LCHlch(54.49, 60.69, 124.57°)
OKLaboklab(59.61% -0.0976 0.1113)
OKLCHoklch(59.61% 0.148 131.3)
XYZxyz(14.8637, 22.4355, 4.9859)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9021 #532190
analogous
#908B21 #5E9021 #279021
triadic
#5E9021 #215E90 #90215E
tetradic
#5E9021 #21908B #532190 #902127
square
#5E9021 #21908B #532190 #902127
split-complementary
#5E9021 #212790 #8B2190
monochromatic
#1D2C0A #3D5E16 #5E9021 #7FC22C #9CD854

Accessibility & contrast

On white

3.83
#5E9021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5E9021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9021
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9021#FFFFFF#000000##000000
##5E90211.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978507
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#608A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e9021;
/* rgb */ color: rgb(94, 144, 33);
/* oklch */ color: oklch(59.6% 0.148 131.3);
Tailwind
colors: {
  custom: {
    50: '#90b165',
    500: '#5e9021',
    950: '#000000',
  },
}
SCSS
$custom: #5e9021;
$custom-light: #90b165;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9021",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 87.027,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.14802,
    "h": 131.3
  },
  "luminance": 0.22436
}

Semantic roles & 50–950 ramp

primary
#5E9021
secondary
#8151BB
accent
#42E68C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E9021

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

Preview Lab → · Contrast checker → · Palette generator →

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