#5E7918#5E7918

#5E7918 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.123 H 124.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E7918
RGBrgb(94, 121, 24)
HSLhsl(77, 67%, 28%)
HSVhsv(77, 80%, 47%)
CMYKcmyk(22.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(47.13, -23.97, 46.09)
CIE-LCHlch(47.13, 51.96, 117.48°)
OKLaboklab(53.61% -0.0699 0.1016)
OKLCHoklch(53.61% 0.123 124.5)
XYZxyz(11.6185, 16.1203, 3.3634)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7918 #331879
analogous
#796318 #5E7918 #2D7918
triadic
#5E7918 #185E79 #79185E
tetradic
#5E7918 #187963 #331879 #79182D
square
#5E7918 #187963 #331879 #79182D
split-complementary
#5E7918 #182D79 #631879
monochromatic
#141A05 #36460E #5E7918 #86AC22 #AAD735

Accessibility & contrast

On white

4.97
#5E7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5E7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7918
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7918#FFFFFF#000000##FFFFFF
##5E79181.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7D6F22
Tritanopia (blue-blind)
#637367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7918;
/* rgb */ color: rgb(94, 121, 24);
/* oklch */ color: oklch(53.6% 0.123 124.5);
Tailwind
colors: {
  custom: {
    50: '#8f9f5e',
    500: '#5e7918',
    950: '#000000',
  },
}
SCSS
$custom: #5e7918;
$custom-light: #8f9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7918",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 76.701,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.1233,
    "h": 124.5
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#5E7918
secondary
#5E3FAE
accent
#3EEA6E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7918

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

Preview Lab → · Contrast checker → · Palette generator →

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