#5E8B2F#5E8B2F

#5E8B2F is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.132 H 131.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E8B2F
RGBrgb(94, 139, 47)
HSLhsl(89, 49%, 36%)
HSVhsv(89, 66%, 55%)
CMYKcmyk(32.4%, 0%, 66.2%, 45.5%)
CIE-LABlab(53.00, -31.12, 42.89)
CIE-LCHlch(53.00, 52.99, 125.96°)
OKLaboklab(58.43% -0.0874 0.0985)
OKLCHoklch(58.43% 0.132 131.6)
XYZxyz(14.3616, 21.0497, 5.9951)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B2F #5C2F8B
analogous
#8B8A2F #5E8B2F #308B2F
triadic
#5E8B2F #2F5E8B #8B2F5E
tetradic
#5E8B2F #2F8B8A #5C2F8B #8B2F30
square
#5E8B2F #2F8B8A #5C2F8B #8B2F30
split-complementary
#5E8B2F #2F308B #8A2F8B
monochromatic
#203010 #3F5D20 #5E8B2F #7DB93E #9BCC68

Accessibility & contrast

On white

4.03
#5E8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5E8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B2F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B2F#FFFFFF#000000##000000
##5E8B2F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8B7D36
Tritanopia (blue-blind)
#5F8578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e8b2f;
/* rgb */ color: rgb(94, 139, 47);
/* oklch */ color: oklch(58.4% 0.132 131.6);
Tailwind
colors: {
  custom: {
    50: '#8fad6c',
    500: '#5e8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b2f;
$custom-light: #8fad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b2f",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 89.348,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.13167,
    "h": 131.6
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#5E8B2F
secondary
#8A63B3
accent
#4FD992
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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