#5E8916#5E8916

#5E8916 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.145 H 129.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E8916
RGBrgb(94, 137, 22)
HSLhsl(82, 72%, 31%)
HSVhsv(82, 84%, 54%)
CMYKcmyk(31.4%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.21, -31.79, 51.33)
CIE-LCHlch(52.21, 60.38, 121.77°)
OKLaboklab(57.73% -0.0912 0.1123)
OKLCHoklch(57.73% 0.145 129.1)
XYZxyz(13.7066, 20.3285, 3.9605)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8916 #411689
analogous
#897A16 #5E8916 #248916
triadic
#5E8916 #165E89 #89165E
tetradic
#5E8916 #16897A #411689 #891624
square
#5E8916 #16897A #411689 #891624
split-complementary
#5E8916 #162489 #7A1689
monochromatic
#162005 #3A540E #5E8916 #82BE1E #A2DF3A

Accessibility & contrast

On white

4.15
#5E8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5E8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8916
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8916#FFFFFF#000000##000000
##5E89161.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#618374
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8916;
/* rgb */ color: rgb(94, 137, 22);
/* oklch */ color: oklch(57.7% 0.145 129.1);
Tailwind
colors: {
  custom: {
    50: '#90ab5f',
    500: '#5e8916',
    950: '#000000',
  },
}
SCSS
$custom: #5e8916;
$custom-light: #90ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8916",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 82.435,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.1447,
    "h": 129.1
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#5E8916
secondary
#6D3EBD
accent
#39EF7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5E8916

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

Preview Lab → · Contrast checker → · Palette generator →

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