#5E8F18#5E8F18

#5E8F18 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.151 H 130.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E8F18
RGBrgb(94, 143, 24)
HSLhsl(85, 71%, 33%)
HSVhsv(85, 83%, 56%)
CMYKcmyk(34.3%, 0%, 83.2%, 43.9%)
CIE-LABlab(54.12, -34.45, 52.49)
CIE-LCHlch(54.12, 62.78, 123.28°)
OKLaboklab(59.29% -0.0983 0.1151)
OKLCHoklch(59.29% 0.151 130.5)
XYZxyz(14.6033, 22.0900, 4.3584)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F18 #49188F
analogous
#8F8418 #5E8F18 #228F18
triadic
#5E8F18 #185E8F #8F185E
tetradic
#5E8F18 #188F84 #49188F #8F1822
square
#5E8F18 #188F84 #49188F #8F1822
split-complementary
#5E8F18 #18228F #84188F
monochromatic
#192606 #3C5B0F #5E8F18 #80C321 #9FDF42

Accessibility & contrast

On white

3.88
#5E8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F18
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F18#FFFFFF#000000##000000
##5E8F181.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f18;
/* rgb */ color: rgb(94, 143, 24);
/* oklch */ color: oklch(59.3% 0.151 130.5);
Tailwind
colors: {
  custom: {
    50: '#90b061',
    500: '#5e8f18',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f18;
$custom-light: #90b061;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f18",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 84.706,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.15134,
    "h": 130.5
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#5E8F18
secondary
#7643C0
accent
#3AEE84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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