#5E8F27#5E8F27

#5E8F27 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.143 H 131.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5E8F27
RGBrgb(94, 143, 39)
HSLhsl(88, 57%, 36%)
HSVhsv(88, 73%, 56%)
CMYKcmyk(34.3%, 0%, 72.7%, 43.9%)
CIE-LABlab(54.21, -33.60, 47.48)
CIE-LCHlch(54.21, 58.17, 125.28°)
OKLaboklab(59.39% -0.0949 0.107)
OKLCHoklch(59.39% 0.143 131.6)
XYZxyz(14.8046, 22.1705, 5.4184)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F27 #58278F
analogous
#8F8C27 #5E8F27 #2A8F27
triadic
#5E8F27 #275E8F #8F275E
tetradic
#5E8F27 #278F8C #58278F #8F272A
square
#5E8F27 #278F8C #58278F #8F272A
split-complementary
#5E8F27 #272A8F #8C278F
monochromatic
#1F2F0D #3E5F1A #5E8F27 #7EBF34 #9CD35D

Accessibility & contrast

On white

3.86
#5E8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5E8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F27
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F27#FFFFFF#000000##000000
##5E8F271.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#60897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e8f27;
/* rgb */ color: rgb(94, 143, 39);
/* oklch */ color: oklch(59.4% 0.143 131.6);
Tailwind
colors: {
  custom: {
    50: '#90b068',
    500: '#5e8f27',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f27;
$custom-light: #90b068;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f27",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 88.269,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.14298,
    "h": 131.6
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

primary
#5E8F27
secondary
#865AB8
accent
#47E08F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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