#5E8F1B#5E8F1B

#5E8F1B is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.150 H 130.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E8F1B
RGBrgb(94, 143, 27)
HSLhsl(85, 68%, 33%)
HSVhsv(85, 81%, 56%)
CMYKcmyk(34.3%, 0%, 81.1%, 43.9%)
CIE-LABlab(54.14, -34.31, 51.61)
CIE-LCHlch(54.14, 61.98, 123.62°)
OKLaboklab(59.31% -0.0977 0.1137)
OKLCHoklch(59.31% 0.15 130.7)
XYZxyz(14.6363, 22.1032, 4.5319)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F1B #4C1B8F
analogous
#8F861B #5E8F1B #248F1B
triadic
#5E8F1B #1B5E8F #8F1B5E
tetradic
#5E8F1B #1B8F86 #4C1B8F #8F1B24
square
#5E8F1B #1B8F86 #4C1B8F #8F1B24
split-complementary
#5E8F1B #1B248F #861B8F
monochromatic
#1A2808 #3C5C11 #5E8F1B #80C225 #9EDC48

Accessibility & contrast

On white

3.87
#5E8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F1B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F1B#FFFFFF#000000##000000
##5E8F1B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f1b;
/* rgb */ color: rgb(94, 143, 27);
/* oklch */ color: oklch(59.3% 0.150 130.7);
Tailwind
colors: {
  custom: {
    50: '#90b062',
    500: '#5e8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f1b;
$custom-light: #90b062;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f1b",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 85.345,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.14993,
    "h": 130.7
  },
  "luminance": 0.22104
}

Semantic roles & 50–950 ramp

primary
#5E8F1B
secondary
#7A48BE
accent
#3DEB86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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