#5E8310#5E8310

#5E8310 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.140 H 127.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5E8310
RGBrgb(94, 131, 16)
HSLhsl(79, 78%, 29%)
HSVhsv(79, 88%, 51%)
CMYKcmyk(28.2%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.27, -29.21, 51.20)
CIE-LCHlch(50.27, 58.94, 119.70°)
OKLaboklab(56.15% -0.0846 0.1111)
OKLCHoklch(56.15% 0.14 127.3)
XYZxyz(12.8260, 18.6494, 3.4141)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8310 #351083
analogous
#836F10 #5E8310 #258310
triadic
#5E8310 #105E83 #83105E
tetradic
#5E8310 #10836F #351083 #831025
square
#5E8310 #10836F #351083 #831025
split-complementary
#5E8310 #102583 #6F1083
monochromatic
#141B03 #374C09 #5E8310 #85BA17 #A8E529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8310#FFFFFF#000000##000000
##5E83101.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)
#85771F
Tritanopia (blue-blind)
#627C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8310;
/* rgb */ color: rgb(94, 131, 16);
/* oklch */ color: oklch(56.1% 0.140 127.3);
Tailwind
colors: {
  custom: {
    50: '#90a75c',
    500: '#5e8310',
    950: '#000000',
  },
}
SCSS
$custom: #5e8310;
$custom-light: #90a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8310",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 79.304,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.13964,
    "h": 127.3
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#5E8310
secondary
#6036B9
accent
#33F571
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8310

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

Preview Lab → · Contrast checker → · Palette generator →

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