#5E8D1B#5E8D1B

#5E8D1B 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#5E8D1B
RGBrgb(94, 141, 27)
HSLhsl(85, 68%, 33%)
HSVhsv(85, 81%, 55%)
CMYKcmyk(33.3%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.50, -33.40, 51.03)
CIE-LCHlch(53.50, 60.99, 123.21°)
OKLaboklab(58.79% -0.0952 0.1125)
OKLCHoklch(58.79% 0.147 130.3)
XYZxyz(14.3387, 21.5081, 4.4327)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D1B #4A1B8D
analogous
#8D831B #5E8D1B #258D1B
triadic
#5E8D1B #1B5E8D #8D1B5E
tetradic
#5E8D1B #1B8D83 #4A1B8D #8D1B25
square
#5E8D1B #1B8D83 #4A1B8D #8D1B25
split-complementary
#5E8D1B #1B258D #831B8D
monochromatic
#1A2607 #3C5A11 #5E8D1B #80C025 #9EDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8D1B#FFFFFF#000000##000000
##5E8D1B1.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)
#8D7F27
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d1b;
/* rgb */ color: rgb(94, 141, 27);
/* oklch */ color: oklch(58.8% 0.147 130.3);
Tailwind
colors: {
  custom: {
    50: '#90ae62',
    500: '#5e8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d1b;
$custom-light: #90ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d1b",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 84.737,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.14741,
    "h": 130.3
  },
  "luminance": 0.21509
}

Semantic roles & 50–950 ramp

primary
#5E8D1B
secondary
#7746BD
accent
#3DEB85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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