#5E7919#5E7919

#5E7919 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.123 H 124.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E7919
RGBrgb(94, 121, 25)
HSLhsl(77, 66%, 29%)
HSVhsv(77, 79%, 47%)
CMYKcmyk(22.3%, 0%, 79.3%, 52.5%)
CIE-LABlab(47.14, -23.92, 45.76)
CIE-LCHlch(47.14, 51.64, 117.60°)
OKLaboklab(53.62% -0.0697 0.1011)
OKLCHoklch(53.62% 0.123 124.6)
XYZxyz(11.6290, 16.1245, 3.4192)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7919 #341979
analogous
#796419 #5E7919 #2E7919
triadic
#5E7919 #195E79 #79195E
tetradic
#5E7919 #197964 #341979 #79192E
square
#5E7919 #197964 #341979 #79192E
split-complementary
#5E7919 #192E79 #641979
monochromatic
#141905 #37460F #5E7919 #85AC23 #A9D637

Accessibility & contrast

On white

4.97
#5E7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5E7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7919
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7919#FFFFFF#000000##FFFFFF
##5E79191.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807102
Deuteranopia (green-blind)
#7D6F22
Tritanopia (blue-blind)
#637367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7919;
/* rgb */ color: rgb(94, 121, 25);
/* oklch */ color: oklch(53.6% 0.123 124.6);
Tailwind
colors: {
  custom: {
    50: '#8f9f5e',
    500: '#5e7919',
    950: '#000000',
  },
}
SCSS
$custom: #5e7919;
$custom-light: #8f9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7919",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 76.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.12274,
    "h": 124.6
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#5E7919
secondary
#5F40AE
accent
#3FE96F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7919

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

Preview Lab → · Contrast checker → · Palette generator →

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