#5E7818#5E7818

#5E7818 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.122 H 124.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E7818
RGBrgb(94, 120, 24)
HSLhsl(76, 67%, 28%)
HSVhsv(76, 80%, 47%)
CMYKcmyk(21.7%, 0%, 80%, 52.9%)
CIE-LABlab(46.81, -23.47, 45.80)
CIE-LCHlch(46.81, 51.46, 117.13°)
OKLaboklab(53.35% -0.0685 0.101)
OKLCHoklch(53.35% 0.122 124.2)
XYZxyz(11.4976, 15.8785, 3.3231)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7818 #321878
analogous
#786218 #5E7818 #2E7818
triadic
#5E7818 #185E78 #78185E
tetradic
#5E7818 #187862 #321878 #78182E
square
#5E7818 #187862 #321878 #78182E
split-complementary
#5E7818 #182E78 #621878
monochromatic
#141A05 #36450E #5E7818 #86AB22 #AAD634

Accessibility & contrast

On white

5.03
#5E7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7818
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7818#FFFFFF#000000##FFFFFF
##5E78181.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e7818;
/* rgb */ color: rgb(94, 120, 24);
/* oklch */ color: oklch(53.4% 0.122 124.2);
Tailwind
colors: {
  custom: {
    50: '#8f9f5e',
    500: '#5e7818',
    950: '#000000',
  },
}
SCSS
$custom: #5e7818;
$custom-light: #8f9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7818",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 76.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.12202,
    "h": 124.2
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#5E7818
secondary
#5D3FAD
accent
#3EEA6D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7818

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

Preview Lab → · Contrast checker → · Palette generator →

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