#5E8A27#5E8A27

#5E8A27 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.136 H 130.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5E8A27
RGBrgb(94, 138, 39)
HSLhsl(87, 56%, 35%)
HSVhsv(87, 72%, 54%)
CMYKcmyk(31.9%, 0%, 71.7%, 45.9%)
CIE-LABlab(52.62, -31.28, 45.88)
CIE-LCHlch(52.62, 55.53, 124.29°)
OKLaboklab(58.1% -0.0886 0.1036)
OKLCHoklch(58.1% 0.136 130.5)
XYZxyz(14.0707, 20.7027, 5.1737)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A27 #53278A
analogous
#8A8527 #5E8A27 #2C8A27
triadic
#5E8A27 #275E8A #8A275E
tetradic
#5E8A27 #278A85 #53278A #8A272C
square
#5E8A27 #278A85 #53278A #8A272C
split-complementary
#5E8A27 #272C8A #85278A
monochromatic
#1D2B0C #3D5A1A #5E8A27 #7FBA34 #9CD15B

Accessibility & contrast

On white

4.09
#5E8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5E8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A27
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A27#FFFFFF#000000##000000
##5E8A271.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#608476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a27;
/* rgb */ color: rgb(94, 138, 39);
/* oklch */ color: oklch(58.1% 0.136 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fac67',
    500: '#5e8a27',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a27;
$custom-light: #8fac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a27",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 86.667,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.581,
    "c": 0.13631,
    "h": 130.5
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#5E8A27
secondary
#8157B6
accent
#49DF8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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