#5E8D1C#5E8D1C

#5E8D1C is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.147 H 130.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5E8D1C
RGBrgb(94, 141, 28)
HSLhsl(85, 67%, 33%)
HSVhsv(85, 80%, 55%)
CMYKcmyk(33.3%, 0%, 80.1%, 44.7%)
CIE-LABlab(53.51, -33.35, 50.72)
CIE-LCHlch(53.51, 60.70, 123.33°)
OKLaboklab(58.8% -0.095 0.112)
OKLCHoklch(58.8% 0.147 130.3)
XYZxyz(14.3505, 21.5128, 4.4947)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D1C #4B1C8D
analogous
#8D831C #5E8D1C #258D1C
triadic
#5E8D1C #1C5E8D #8D1C5E
tetradic
#5E8D1C #1C8D83 #4B1C8D #8D1C25
square
#5E8D1C #1C8D83 #4B1C8D #8D1C25
split-complementary
#5E8D1C #1C258D #831C8D
monochromatic
#1A2708 #3C5A12 #5E8D1C #80C026 #9EDB49

Accessibility & contrast

On white

3.96
#5E8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5E8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D1C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D1C#FFFFFF#000000##000000
##5E8D1C1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d1c;
/* rgb */ color: rgb(94, 141, 28);
/* oklch */ color: oklch(58.8% 0.147 130.3);
Tailwind
colors: {
  custom: {
    50: '#90ae62',
    500: '#5e8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d1c;
$custom-light: #90ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d1c",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 84.956,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.1469,
    "h": 130.3
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#5E8D1C
secondary
#7948BD
accent
#3EEA85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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