#5E962B#5E962B

#5E962B is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.2% C 0.150 H 133.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5E962B
RGBrgb(94, 150, 43)
HSLhsl(91, 55%, 38%)
HSVhsv(91, 71%, 59%)
CMYKcmyk(37.3%, 0%, 71.3%, 41.2%)
CIE-LABlab(56.45, -36.46, 48.19)
CIE-LCHlch(56.45, 60.43, 127.11°)
OKLaboklab(61.23% -0.1023 0.1091)
OKLCHoklch(61.23% 0.15 133.2)
XYZxyz(15.9582, 24.3661, 6.1473)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E962B #632B96
analogous
#93962B #5E962B #2B962E
triadic
#5E962B #2B5E96 #962B5E
tetradic
#5E962B #2B9396 #632B96 #962E2B
square
#5E962B #2B9396 #632B96 #962E2B
split-complementary
#5E962B #2E2B96 #962B93
monochromatic
#223710 #40661D #5E962B #7CC639 #9BD468

Accessibility & contrast

On white

3.58
#5E962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5E962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E962B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E962B#FFFFFF#000000##000000
##5E962B1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1A
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#5E9081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e962b;
/* rgb */ color: rgb(94, 150, 43);
/* oklch */ color: oklch(61.2% 0.150 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b56b',
    500: '#5e962b',
    950: '#000000',
  },
}
SCSS
$custom: #5e962b;
$custom-light: #90b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e962b",
  "rgb": {
    "r": 94,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 91.402,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.14954,
    "h": 133.2
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#5E962B
secondary
#9063BA
accent
#49DF97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E962B

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

Preview Lab → · Contrast checker → · Palette generator →

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