#5E8A1B#5E8A1B

#5E8A1B is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.144 H 129.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E8A1B
RGBrgb(94, 138, 27)
HSLhsl(84, 67%, 32%)
HSVhsv(84, 80%, 54%)
CMYKcmyk(31.9%, 0%, 80.4%, 45.9%)
CIE-LABlab(52.55, -32.02, 50.15)
CIE-LCHlch(52.55, 59.50, 122.56°)
OKLaboklab(58.02% -0.0915 0.1106)
OKLCHoklch(58.02% 0.144 129.6)
XYZxyz(13.9024, 20.6353, 4.2872)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A1B #471B8A
analogous
#8A7F1B #5E8A1B #268A1B
triadic
#5E8A1B #1B5E8A #8A1B5E
tetradic
#5E8A1B #1B8A7F #471B8A #8A1B26
square
#5E8A1B #1B8A7F #471B8A #8A1B26
split-complementary
#5E8A1B #1B268A #7F1B8A
monochromatic
#182407 #3B5711 #5E8A1B #81BD25 #9FDB45

Accessibility & contrast

On white

4.10
#5E8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A1B#FFFFFF#000000##000000
##5E8A1B1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#618476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a1b;
/* rgb */ color: rgb(94, 138, 27);
/* oklch */ color: oklch(58.0% 0.144 129.6);
Tailwind
colors: {
  custom: {
    50: '#90ac62',
    500: '#5e8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a1b;
$custom-light: #90ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a1b",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 83.784,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.14359,
    "h": 129.6
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#5E8A1B
secondary
#7445BC
accent
#3EEA82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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