#5E7819#5E7819

#5E7819 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.121 H 124.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E7819
RGBrgb(94, 120, 25)
HSLhsl(76, 66%, 28%)
HSVhsv(76, 79%, 47%)
CMYKcmyk(21.7%, 0%, 79.2%, 52.9%)
CIE-LABlab(46.82, -23.42, 45.46)
CIE-LCHlch(46.82, 51.14, 117.25°)
OKLaboklab(53.36% -0.0683 0.1004)
OKLCHoklch(53.36% 0.121 124.2)
XYZxyz(11.5082, 15.8827, 3.3789)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7819 #331978
analogous
#786219 #5E7819 #2E7819
triadic
#5E7819 #195E78 #78195E
tetradic
#5E7819 #197862 #331978 #78192E
square
#5E7819 #197862 #331978 #78192E
split-complementary
#5E7819 #192E78 #621978
monochromatic
#141905 #36450E #5E7819 #86AB24 #AAD536

Accessibility & contrast

On white

5.03
#5E7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7819
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7819#FFFFFF#000000##FFFFFF
##5E78191.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e7819;
/* rgb */ color: rgb(94, 120, 25);
/* oklch */ color: oklch(53.4% 0.121 124.2);
Tailwind
colors: {
  custom: {
    50: '#8f9f5e',
    500: '#5e7819',
    950: '#000000',
  },
}
SCSS
$custom: #5e7819;
$custom-light: #8f9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7819",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 76.421,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.12145,
    "h": 124.2
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#5E7819
secondary
#5E40AD
accent
#3FE86E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7819

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

Preview Lab → · Contrast checker → · Palette generator →

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