#5E901B#5E901B

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

Color values

HEX#5E901B
RGBrgb(94, 144, 27)
HSLhsl(86, 68%, 34%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(34.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(54.45, -34.76, 51.91)
CIE-LCHlch(54.45, 62.47, 123.81°)
OKLaboklab(59.57% -0.0989 0.1144)
OKLCHoklch(59.57% 0.151 130.9)
XYZxyz(14.7871, 22.4048, 4.5821)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E901B #4D1B90
analogous
#90871B #5E901B #23901B
triadic
#5E901B #1B5E90 #901B5E
tetradic
#5E901B #1B9087 #4D1B90 #901B23
square
#5E901B #1B9087 #4D1B90 #901B23
split-complementary
#5E901B #1B2390 #871B90
monochromatic
#1B2908 #3C5C11 #5E901B #80C425 #9DDD49

Accessibility & contrast

On white

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

On black

5.48
#5E901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E901B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E901B#FFFFFF#000000##000000
##5E901B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#608A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e901b;
/* rgb */ color: rgb(94, 144, 27);
/* oklch */ color: oklch(59.6% 0.151 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b162',
    500: '#5e901b',
    950: '#000000',
  },
}
SCSS
$custom: #5e901b;
$custom-light: #90b162;
$custom-dark: #000000;
JSON
{
  "hex": "#5e901b",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 85.641,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.1512,
    "h": 130.9
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#5E901B
secondary
#7B48BF
accent
#3DEB87
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E901B

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

Preview Lab → · Contrast checker → · Palette generator →

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