#5E9020#5E9020

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

Color values

HEX#5E9020
RGBrgb(94, 144, 32)
HSLhsl(87, 64%, 35%)
HSVhsv(87, 78%, 56%)
CMYKcmyk(34.7%, 0%, 77.8%, 43.5%)
CIE-LABlab(54.48, -34.50, 50.31)
CIE-LCHlch(54.48, 61.00, 124.44°)
OKLaboklab(59.6% -0.0979 0.1118)
OKLCHoklch(59.6% 0.149 131.2)
XYZxyz(14.8499, 22.4299, 4.9132)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9020 #522090
analogous
#908A20 #5E9020 #269020
triadic
#5E9020 #205E90 #90205E
tetradic
#5E9020 #20908A #522090 #902026
square
#5E9020 #20908A #522090 #902026
split-complementary
#5E9020 #202690 #8A2090
monochromatic
#1D2C0A #3D5E15 #5E9020 #7FC22B #9CD952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E9020#FFFFFF#000000##000000
##5E90201.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)
#978504
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#608A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e9020;
/* rgb */ color: rgb(94, 144, 32);
/* oklch */ color: oklch(59.6% 0.149 131.2);
Tailwind
colors: {
  custom: {
    50: '#90b165',
    500: '#5e9020',
    950: '#000000',
  },
}
SCSS
$custom: #5e9020;
$custom-light: #90b165;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9020",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 86.786,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.14858,
    "h": 131.2
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#5E9020
secondary
#8050BC
accent
#41E78B
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E9020

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

Preview Lab → · Contrast checker → · Palette generator →

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