#5E9D1C#5E9D1C

#5E9D1C is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.9% C 0.167 H 133.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5E9D1C
RGBrgb(94, 157, 28)
HSLhsl(89, 70%, 36%)
HSVhsv(89, 82%, 62%)
CMYKcmyk(40.1%, 0%, 82.2%, 38.4%)
CIE-LABlab(58.58, -40.41, 55.39)
CIE-LCHlch(58.58, 68.56, 126.11°)
OKLaboklab(62.94% -0.114 0.1218)
OKLCHoklch(62.94% 0.167 133.1)
XYZxyz(16.8824, 26.5766, 5.3386)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9D1C #5B1C9D
analogous
#9D9C1C #5E9D1C #1E9D1C
triadic
#5E9D1C #1C5E9D #9D1C5E
tetradic
#5E9D1C #1C9D9C #5B1C9D #9D1C1E
square
#5E9D1C #1C9D9C #5B1C9D #9D1C1E
split-complementary
#5E9D1C #1C1E9D #9C1C9D
monochromatic
#203509 #3F6913 #5E9D1C #7DD125 #9BE053

Accessibility & contrast

On white

3.33
#5E9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5E9D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9D1C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9D1C#FFFFFF#000000##000000
##5E9D1C1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#5E9686
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e9d1c;
/* rgb */ color: rgb(94, 157, 28);
/* oklch */ color: oklch(62.9% 0.167 133.1);
Tailwind
colors: {
  custom: {
    50: '#91ba65',
    500: '#5e9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #5e9d1c;
$custom-light: #91ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9d1c",
  "rgb": {
    "r": 94,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 89.302,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.16689,
    "h": 133.1
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

primary
#5E9D1C
secondary
#8951C3
accent
#3BED92
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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