#5E7519#5E7519

#5E7519 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.118 H 123.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E7519
RGBrgb(94, 117, 25)
HSLhsl(75, 65%, 28%)
HSVhsv(75, 79%, 46%)
CMYKcmyk(19.7%, 0%, 78.6%, 54.1%)
CIE-LABlab(45.87, -21.89, 44.56)
CIE-LCHlch(45.87, 49.65, 116.16°)
OKLaboklab(52.59% -0.0641 0.0986)
OKLCHoklch(52.59% 0.118 123)
XYZxyz(11.1530, 15.1724, 3.2605)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7519 #301975
analogous
#755E19 #5E7519 #307519
triadic
#5E7519 #195E75 #75195E
tetradic
#5E7519 #19755E #301975 #751930
square
#5E7519 #19755E #301975 #751930
split-complementary
#5E7519 #193075 #5E1975
monochromatic
#141905 #35430E #5E7519 #87A724 #ACD435

Accessibility & contrast

On white

5.21
#5E7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7519
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7519#FFFFFF#000000##FFFFFF
##5E75191.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#636F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7519;
/* rgb */ color: rgb(94, 117, 25);
/* oklch */ color: oklch(52.6% 0.118 123.0);
Tailwind
colors: {
  custom: {
    50: '#8f9c5e',
    500: '#5e7519',
    950: '#000000',
  },
}
SCSS
$custom: #5e7519;
$custom-light: #8f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7519",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 75,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.11757,
    "h": 123
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#5E7519
secondary
#5A40AA
accent
#40E86A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7519

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

Preview Lab → · Contrast checker → · Palette generator →

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