#5E7A18#5E7A18

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

Color values

HEX#5E7A18
RGBrgb(94, 122, 24)
HSLhsl(77, 67%, 29%)
HSVhsv(77, 80%, 48%)
CMYKcmyk(23%, 0%, 80.3%, 52.2%)
CIE-LABlab(47.45, -24.48, 46.39)
CIE-LCHlch(47.45, 52.45, 117.82°)
OKLaboklab(53.87% -0.0712 0.1022)
OKLCHoklch(53.87% 0.125 124.9)
XYZxyz(11.7406, 16.3646, 3.4041)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7A18 #34187A
analogous
#7A6518 #5E7A18 #2D7A18
triadic
#5E7A18 #185E7A #7A185E
tetradic
#5E7A18 #187A65 #34187A #7A182D
square
#5E7A18 #187A65 #34187A #7A182D
split-complementary
#5E7A18 #182D7A #65187A
monochromatic
#141A05 #37470E #5E7A18 #85AD22 #A9D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7A18#FFFFFF#000000##FFFFFF
##5E7A181.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)
#817200
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#637468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7a18;
/* rgb */ color: rgb(94, 122, 24);
/* oklch */ color: oklch(53.9% 0.125 124.9);
Tailwind
colors: {
  custom: {
    50: '#8fa05e',
    500: '#5e7a18',
    950: '#000000',
  },
}
SCSS
$custom: #5e7a18;
$custom-light: #8fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7a18",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 77.143,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.1246,
    "h": 124.9
  },
  "luminance": 0.16365
}

Semantic roles & 50–950 ramp

primary
#5E7A18
secondary
#5F3FAF
accent
#3EEA6F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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