#5E9D2B#5E9D2B

#5E9D2B is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.159 H 134.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5E9D2B
RGBrgb(94, 157, 43)
HSLhsl(93, 57%, 39%)
HSVhsv(93, 73%, 62%)
CMYKcmyk(40.1%, 0%, 72.6%, 38.4%)
CIE-LABlab(58.66, -39.52, 50.44)
CIE-LCHlch(58.66, 64.08, 128.08°)
OKLaboklab(63.04% -0.1106 0.1138)
OKLCHoklch(63.04% 0.159 134.2)
XYZxyz(17.1088, 26.6672, 6.5308)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9D2B #6A2B9D
analogous
#979D2B #5E9D2B #2B9D31
triadic
#5E9D2B #2B5E9D #9D2B5E
tetradic
#5E9D2B #2B979D #6A2B9D #9D312B
square
#5E9D2B #2B979D #6A2B9D #9D312B
split-complementary
#5E9D2B #312B9D #9D2B97
monochromatic
#243D11 #416D1E #5E9D2B #7BCA3C #9CD76C

Accessibility & contrast

On white

3.32
#5E9D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5E9D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9D2B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9D2B#FFFFFF#000000##000000
##5E9D2B1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#9B8B36
Tritanopia (blue-blind)
#5D9787
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e9d2b;
/* rgb */ color: rgb(94, 157, 43);
/* oklch */ color: oklch(63.0% 0.159 134.2);
Tailwind
colors: {
  custom: {
    50: '#91ba6c',
    500: '#5e9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #5e9d2b;
$custom-light: #91ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9d2b",
  "rgb": {
    "r": 94,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 93.158,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6304,
    "c": 0.15869,
    "h": 134.2
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

primary
#5E9D2B
secondary
#9666BD
accent
#48E09C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5E9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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