#5E7A19#5E7A19

#5E7A19 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.124 H 124.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E7A19
RGBrgb(94, 122, 25)
HSLhsl(77, 66%, 29%)
HSVhsv(77, 80%, 48%)
CMYKcmyk(23%, 0%, 79.5%, 52.2%)
CIE-LABlab(47.45, -24.42, 46.06)
CIE-LCHlch(47.45, 52.13, 117.94°)
OKLaboklab(53.87% -0.071 0.1017)
OKLCHoklch(53.87% 0.124 124.9)
XYZxyz(11.7512, 16.3688, 3.4599)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7A19 #35197A
analogous
#7A6619 #5E7A19 #2E7A19
triadic
#5E7A19 #195E7A #7A195E
tetradic
#5E7A19 #197A66 #35197A #7A192E
square
#5E7A19 #197A66 #35197A #7A192E
split-complementary
#5E7A19 #192E7A #66197A
monochromatic
#141905 #37470F #5E7A19 #85AD23 #A8D637

Accessibility & contrast

On white

4.91
#5E7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5E7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7A19
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7A19#FFFFFF#000000##FFFFFF
##5E7A191.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#637468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7a19;
/* rgb */ color: rgb(94, 122, 25);
/* oklch */ color: oklch(53.9% 0.124 124.9);
Tailwind
colors: {
  custom: {
    50: '#8fa05e',
    500: '#5e7a19',
    950: '#000000',
  },
}
SCSS
$custom: #5e7a19;
$custom-light: #8fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7a19",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 77.32,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.12404,
    "h": 124.9
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#5E7A19
secondary
#6040AF
accent
#3FE970
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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