#5E8319#5E8319

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

Color values

HEX#5E8319
RGBrgb(94, 131, 25)
HSLhsl(81, 68%, 31%)
HSVhsv(81, 81%, 51%)
CMYKcmyk(28.2%, 0%, 80.9%, 48.6%)
CIE-LABlab(50.31, -28.83, 48.71)
CIE-LCHlch(50.31, 56.61, 120.62°)
OKLaboklab(56.19% -0.083 0.1073)
OKLCHoklch(56.19% 0.136 127.7)
XYZxyz(12.9079, 18.6822, 3.8455)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8319 #3E1983
analogous
#837319 #5E8319 #298319
triadic
#5E8319 #195E83 #83195E
tetradic
#5E8319 #198373 #3E1983 #831929
square
#5E8319 #198373 #3E1983 #831929
split-complementary
#5E8319 #192983 #731983
monochromatic
#141C05 #39500F #5E8319 #83B623 #A3DA3D

Accessibility & contrast

On white

4.43
#5E8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5E8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8319
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8319#FFFFFF#000000##000000
##5E83191.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8319;
/* rgb */ color: rgb(94, 131, 25);
/* oklch */ color: oklch(56.2% 0.136 127.7);
Tailwind
colors: {
  custom: {
    50: '#8fa760',
    500: '#5e8319',
    950: '#000000',
  },
}
SCSS
$custom: #5e8319;
$custom-light: #8fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8319",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 80.943,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.13565,
    "h": 127.7
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#5E8319
secondary
#6A41B7
accent
#3DEB7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8319

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

Preview Lab → · Contrast checker → · Palette generator →

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