#5E9E2B#5E9E2B

#5E9E2B is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.160 H 134.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E9E2B
RGBrgb(94, 158, 43)
HSLhsl(93, 57%, 39%)
HSVhsv(93, 73%, 62%)
CMYKcmyk(40.5%, 0%, 72.8%, 38%)
CIE-LABlab(58.98, -39.95, 50.76)
CIE-LCHlch(58.98, 64.60, 128.20°)
OKLaboklab(63.3% -0.1118 0.1144)
OKLCHoklch(63.3% 0.16 134.3)
XYZxyz(17.2787, 27.0069, 6.5875)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9E2B #6B2B9E
analogous
#989E2B #5E9E2B #2B9E31
triadic
#5E9E2B #2B5E9E #9E2B5E
tetradic
#5E9E2B #2B989E #6B2B9E #9E312B
square
#5E9E2B #2B989E #6B2B9E #9E312B
split-complementary
#5E9E2B #312B9E #9E2B98
monochromatic
#253E11 #416E1E #5E9E2B #7BCA3C #9CD76C

Accessibility & contrast

On white

3.28
#5E9E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5E9E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9E2B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9E2B#FFFFFF#000000##000000
##5E9E2B1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49117
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#5D9888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e9e2b;
/* rgb */ color: rgb(94, 158, 43);
/* oklch */ color: oklch(63.3% 0.160 134.3);
Tailwind
colors: {
  custom: {
    50: '#91bb6c',
    500: '#5e9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5e9e2b;
$custom-light: #91bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9e2b",
  "rgb": {
    "r": 94,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 93.391,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.15998,
    "h": 134.3
  },
  "luminance": 0.27008
}

Semantic roles & 50–950 ramp

primary
#5E9E2B
secondary
#9767BE
accent
#47E09D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5E9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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