#5E8934#5E8934

#5E8934 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.0% C 0.125 H 131.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5E8934
RGBrgb(94, 137, 52)
HSLhsl(90, 45%, 37%)
HSVhsv(90, 62%, 54%)
CMYKcmyk(31.4%, 0%, 62%, 46.3%)
CIE-LABlab(52.42, -29.71, 39.95)
CIE-LCHlch(52.42, 49.79, 126.64°)
OKLaboklab(57.97% -0.0831 0.0929)
OKLCHoklch(57.97% 0.125 131.8)
XYZxyz(14.1814, 20.5185, 6.4614)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8934 #5F3489
analogous
#898934 #5E8934 #348934
triadic
#5E8934 #345E89 #89345E
tetradic
#5E8934 #348989 #5F3489 #893434
square
#5E8934 #348989 #5F3489 #893434
split-complementary
#5E8934 #343489 #893489
monochromatic
#213012 #405D23 #5E8934 #7CB545 #9BC86F

Accessibility & contrast

On white

4.11
#5E8934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5E8934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8934
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8934#FFFFFF#000000##000000
##5E89341.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2B
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#5F8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8934;
/* rgb */ color: rgb(94, 137, 52);
/* oklch */ color: oklch(58.0% 0.125 131.8);
Tailwind
colors: {
  custom: {
    50: '#8fab6f',
    500: '#5e8934',
    950: '#000000',
  },
}
SCSS
$custom: #5e8934;
$custom-light: #8fab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8934",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 90.353,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.12463,
    "h": 131.8
  },
  "luminance": 0.20519
}

Semantic roles & 50–950 ramp

primary
#5E8934
secondary
#8D68B0
accent
#53D595
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5E8934

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

Preview Lab → · Contrast checker → · Palette generator →

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