#5E7C18#5E7C18

#5E7C18 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.127 H 125.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E7C18
RGBrgb(94, 124, 24)
HSLhsl(78, 68%, 29%)
HSVhsv(78, 81%, 49%)
CMYKcmyk(24.2%, 0%, 80.6%, 51.4%)
CIE-LABlab(48.08, -25.47, 46.98)
CIE-LCHlch(48.08, 53.44, 118.47°)
OKLaboklab(54.38% -0.074 0.1035)
OKLCHoklch(54.38% 0.127 125.6)
XYZxyz(11.9887, 16.8608, 3.4868)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C18 #36187C
analogous
#7C6818 #5E7C18 #2C7C18
triadic
#5E7C18 #185E7C #7C185E
tetradic
#5E7C18 #187C68 #36187C #7C182C
square
#5E7C18 #187C68 #36187C #7C182C
split-complementary
#5E7C18 #182C7C #68187C
monochromatic
#131A05 #37490E #5E7C18 #85AF22 #A8D836

Accessibility & contrast

On white

4.80
#5E7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5E7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7C18
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C18#FFFFFF#000000##FFFFFF
##5E7C181.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#627669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e7c18;
/* rgb */ color: rgb(94, 124, 24);
/* oklch */ color: oklch(54.4% 0.127 125.6);
Tailwind
colors: {
  custom: {
    50: '#8fa25e',
    500: '#5e7c18',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c18;
$custom-light: #8fa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c18",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 78,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.12718,
    "h": 125.6
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#5E7C18
secondary
#613FB1
accent
#3DEA71
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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