#5E8312#5E8312

#5E8312 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.139 H 127.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5E8312
RGBrgb(94, 131, 18)
HSLhsl(80, 76%, 29%)
HSVhsv(80, 86%, 51%)
CMYKcmyk(28.2%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.28, -29.13, 50.71)
CIE-LCHlch(50.28, 58.48, 119.88°)
OKLaboklab(56.16% -0.0843 0.1104)
OKLCHoklch(56.16% 0.139 127.4)
XYZxyz(12.8416, 18.6557, 3.4965)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8312 #371283
analogous
#837012 #5E8312 #268312
triadic
#5E8312 #125E83 #83125E
tetradic
#5E8312 #128370 #371283 #831226
square
#5E8312 #128370 #371283 #831226
split-complementary
#5E8312 #122683 #701283
monochromatic
#131B04 #374D0B #5E8312 #85B919 #A7E22D

Accessibility & contrast

On white

4.44
#5E8312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5E8312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8312
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8312#FFFFFF#000000##000000
##5E83121.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#627D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8312;
/* rgb */ color: rgb(94, 131, 18);
/* oklch */ color: oklch(56.2% 0.139 127.4);
Tailwind
colors: {
  custom: {
    50: '#90a75d',
    500: '#5e8312',
    950: '#000000',
  },
}
SCSS
$custom: #5e8312;
$custom-light: #90a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8312",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 79.646,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.13887,
    "h": 127.4
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#5E8312
secondary
#6238B8
accent
#35F273
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8312

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

Preview Lab → · Contrast checker → · Palette generator →

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