#5E8D1E#5E8D1E

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

Color values

HEX#5E8D1E
RGBrgb(94, 141, 30)
HSLhsl(85, 65%, 34%)
HSVhsv(85, 79%, 55%)
CMYKcmyk(33.3%, 0%, 78.7%, 44.7%)
CIE-LABlab(53.52, -33.25, 50.07)
CIE-LCHlch(53.52, 60.11, 123.58°)
OKLaboklab(58.81% -0.0946 0.111)
OKLCHoklch(58.81% 0.146 130.4)
XYZxyz(14.3752, 21.5227, 4.6249)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D1E #4D1E8D
analogous
#8D841E #5E8D1E #278D1E
triadic
#5E8D1E #1E5E8D #8D1E5E
tetradic
#5E8D1E #1E8D84 #4D1E8D #8D1E27
square
#5E8D1E #1E8D84 #4D1E8D #8D1E27
split-complementary
#5E8D1E #1E278D #841E8D
monochromatic
#1B2809 #3C5B13 #5E8D1E #80BF29 #9DD94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8D1E#FFFFFF#000000##000000
##5E8D1E1.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)
#948201
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d1e;
/* rgb */ color: rgb(94, 141, 30);
/* oklch */ color: oklch(58.8% 0.146 130.4);
Tailwind
colors: {
  custom: {
    50: '#90ae63',
    500: '#5e8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d1e;
$custom-light: #90ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d1e",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 85.405,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.14583,
    "h": 130.4
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#5E8D1E
secondary
#7B4BBC
accent
#40E887
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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