#5E8F16#5E8F16

#5E8F16 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.152 H 130.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E8F16
RGBrgb(94, 143, 22)
HSLhsl(84, 73%, 32%)
HSVhsv(84, 85%, 56%)
CMYKcmyk(34.3%, 0%, 84.6%, 43.9%)
CIE-LABlab(54.11, -34.54, 53.03)
CIE-LCHlch(54.11, 63.28, 123.08°)
OKLaboklab(59.28% -0.0986 0.1159)
OKLCHoklch(59.28% 0.152 130.4)
XYZxyz(14.5833, 22.0820, 4.2528)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F16 #47168F
analogous
#8F8416 #5E8F16 #218F16
triadic
#5E8F16 #165E8F #8F165E
tetradic
#5E8F16 #168F84 #47168F #8F1621
square
#5E8F16 #168F84 #47168F #8F1621
split-complementary
#5E8F16 #16218F #84168F
monochromatic
#182506 #3B5A0E #5E8F16 #81C41E #9FE13E

Accessibility & contrast

On white

3.88
#5E8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F16
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F16#FFFFFF#000000##000000
##5E8F161.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#608879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f16;
/* rgb */ color: rgb(94, 143, 22);
/* oklch */ color: oklch(59.3% 0.152 130.4);
Tailwind
colors: {
  custom: {
    50: '#90b060',
    500: '#5e8f16',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f16;
$custom-light: #90b060;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f16",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 84.298,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59284,
    "c": 0.1522,
    "h": 130.4
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#5E8F16
secondary
#743FC1
accent
#38F082
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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