#5E901C#5E901C

#5E901C 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#5E901C
RGBrgb(94, 144, 28)
HSLhsl(86, 67%, 34%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(34.7%, 0%, 80.6%, 43.5%)
CIE-LABlab(54.46, -34.71, 51.60)
CIE-LCHlch(54.46, 62.19, 123.93°)
OKLaboklab(59.58% -0.0987 0.1139)
OKLCHoklch(59.58% 0.151 130.9)
XYZxyz(14.7988, 22.4095, 4.6441)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E901C #4E1C90
analogous
#90881C #5E901C #24901C
triadic
#5E901C #1C5E90 #901C5E
tetradic
#5E901C #1C9088 #4E1C90 #901C24
square
#5E901C #1C9088 #4E1C90 #901C24
split-complementary
#5E901C #1C2490 #881C90
monochromatic
#1B2A08 #3D5D12 #5E901C #7FC326 #9DDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5e901c;
/* rgb */ color: rgb(94, 144, 28);
/* oklch */ color: oklch(59.6% 0.151 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b163',
    500: '#5e901c',
    950: '#000000',
  },
}
SCSS
$custom: #5e901c;
$custom-light: #90b163;
$custom-dark: #000000;
JSON
{
  "hex": "#5e901c",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 85.862,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.15071,
    "h": 130.9
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#5E901C
secondary
#7C4ABE
accent
#3DEA88
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E901C

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

Preview Lab → · Contrast checker → · Palette generator →

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