#5E901A#5E901A

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

Color values

HEX#5E901A
RGBrgb(94, 144, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 56%)
CMYKcmyk(34.7%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.45, -34.81, 52.20)
CIE-LCHlch(54.45, 62.74, 123.70°)
OKLaboklab(59.56% -0.0991 0.1148)
OKLCHoklch(59.56% 0.152 130.8)
XYZxyz(14.7757, 22.4002, 4.5223)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E901A #4C1A90
analogous
#90871A #5E901A #23901A
triadic
#5E901A #1A5E90 #901A5E
tetradic
#5E901A #1A9087 #4C1A90 #901A23
square
#5E901A #1A9087 #4C1A90 #901A23
split-complementary
#5E901A #1A2390 #871A90
monochromatic
#1A2807 #3C5C11 #5E901A #80C423 #9EDE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E901A#FFFFFF#000000##000000
##5E901A1.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)
#908127
Tritanopia (blue-blind)
#608A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e901a;
/* rgb */ color: rgb(94, 144, 26);
/* oklch */ color: oklch(59.6% 0.152 130.8);
Tailwind
colors: {
  custom: {
    50: '#90b162',
    500: '#5e901a',
    950: '#000000',
  },
}
SCSS
$custom: #5e901a;
$custom-light: #90b162;
$custom-dark: #000000;
JSON
{
  "hex": "#5e901a",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 85.424,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.15168,
    "h": 130.8
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#5E901A
secondary
#7A47BF
accent
#3CEC86
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E901A

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

Preview Lab → · Contrast checker → · Palette generator →

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