#5E8E1A#5E8E1A

#5E8E1A is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.149 H 130.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5E8E1A
RGBrgb(94, 142, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 56%)
CMYKcmyk(33.8%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.81, -33.91, 51.62)
CIE-LCHlch(53.81, 61.76, 123.30°)
OKLaboklab(59.05% -0.0967 0.1136)
OKLCHoklch(59.05% 0.149 130.4)
XYZxyz(14.4755, 21.7998, 4.4222)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8E1A #4A1A8E
analogous
#8E841A #5E8E1A #248E1A
triadic
#5E8E1A #1A5E8E #8E1A5E
tetradic
#5E8E1A #1A8E84 #4A1A8E #8E1A24
square
#5E8E1A #1A8E84 #4A1A8E #8E1A24
split-complementary
#5E8E1A #1A248E #841A8E
monochromatic
#1A2707 #3C5A11 #5E8E1A #80C223 #9EDD45

Accessibility & contrast

On white

3.92
#5E8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5E8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8E1A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8E1A#FFFFFF#000000##000000
##5E8E1A1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#608879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8e1a;
/* rgb */ color: rgb(94, 142, 26);
/* oklch */ color: oklch(59.0% 0.149 130.4);
Tailwind
colors: {
  custom: {
    50: '#90af62',
    500: '#5e8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e8e1a;
$custom-light: #90af62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8e1a",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 84.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.14916,
    "h": 130.4
  },
  "luminance": 0.218
}

Semantic roles & 50–950 ramp

primary
#5E8E1A
secondary
#7745BE
accent
#3CEC85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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