#5E901F#5E901F

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

Color values

HEX#5E901F
RGBrgb(94, 144, 31)
HSLhsl(87, 65%, 34%)
HSVhsv(87, 78%, 56%)
CMYKcmyk(34.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(54.47, -34.55, 50.65)
CIE-LCHlch(54.47, 61.31, 124.30°)
OKLaboklab(59.59% -0.0981 0.1124)
OKLCHoklch(59.59% 0.149 131.1)
XYZxyz(14.8366, 22.4246, 4.8427)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E901F #511F90
analogous
#908A1F #5E901F #26901F
triadic
#5E901F #1F5E90 #901F5E
tetradic
#5E901F #1F908A #511F90 #901F26
square
#5E901F #1F908A #511F90 #901F26
split-complementary
#5E901F #1F2690 #8A1F90
monochromatic
#1C2B09 #3D5E14 #5E901F #7FC22A #9DD950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5e901f;
/* rgb */ color: rgb(94, 144, 31);
/* oklch */ color: oklch(59.6% 0.149 131.1);
Tailwind
colors: {
  custom: {
    50: '#90b164',
    500: '#5e901f',
    950: '#000000',
  },
}
SCSS
$custom: #5e901f;
$custom-light: #90b164;
$custom-dark: #000000;
JSON
{
  "hex": "#5e901f",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 86.549,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.14914,
    "h": 131.1
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#5E901F
secondary
#7F4EBC
accent
#40E88A
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E901F

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

Preview Lab → · Contrast checker → · Palette generator →

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