#5E8918#5E8918

#5E8918 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.144 H 129.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E8918
RGBrgb(94, 137, 24)
HSLhsl(83, 70%, 32%)
HSVhsv(83, 82%, 54%)
CMYKcmyk(31.4%, 0%, 82.5%, 46.3%)
CIE-LABlab(52.22, -31.70, 50.76)
CIE-LCHlch(52.22, 59.85, 121.99°)
OKLaboklab(57.74% -0.0909 0.1115)
OKLCHoklch(57.74% 0.144 129.2)
XYZxyz(13.7266, 20.3365, 4.0661)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8918 #431889
analogous
#897C18 #5E8918 #268918
triadic
#5E8918 #185E89 #89185E
tetradic
#5E8918 #18897C #431889 #891826
square
#5E8918 #18897C #431889 #891826
split-complementary
#5E8918 #182689 #7C1889
monochromatic
#172106 #3A550F #5E8918 #82BD21 #A1DD3E

Accessibility & contrast

On white

4.14
#5E8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5E8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8918
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8918#FFFFFF#000000##000000
##5E89181.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#618374
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8918;
/* rgb */ color: rgb(94, 137, 24);
/* oklch */ color: oklch(57.7% 0.144 129.2);
Tailwind
colors: {
  custom: {
    50: '#90ab60',
    500: '#5e8918',
    950: '#000000',
  },
}
SCSS
$custom: #5e8918;
$custom-light: #90ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8918",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 82.832,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.14379,
    "h": 129.2
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#5E8918
secondary
#7040BD
accent
#3BED7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8918

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

Preview Lab → · Contrast checker → · Palette generator →

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