#5E8A30#5E8A30

#5E8A30 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.129 H 131.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E8A30
RGBrgb(94, 138, 48)
HSLhsl(89, 48%, 36%)
HSVhsv(89, 65%, 54%)
CMYKcmyk(31.9%, 0%, 65.2%, 45.9%)
CIE-LABlab(52.70, -30.56, 42.10)
CIE-LCHlch(52.70, 52.03, 125.97°)
OKLaboklab(58.18% -0.0858 0.0969)
OKLCHoklch(58.18% 0.129 131.5)
XYZxyz(14.2379, 20.7696, 6.0545)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A30 #5C308A
analogous
#8A8930 #5E8A30 #318A30
triadic
#5E8A30 #305E8A #8A305E
tetradic
#5E8A30 #308A89 #5C308A #8A3031
square
#5E8A30 #308A89 #5C308A #8A3031
split-complementary
#5E8A30 #30318A #89308A
monochromatic
#202F10 #3F5D20 #5E8A30 #7DB740 #9BCB69

Accessibility & contrast

On white

4.07
#5E8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5E8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A30
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A30#FFFFFF#000000##000000
##5E8A301.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#608477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a30;
/* rgb */ color: rgb(94, 138, 48);
/* oklch */ color: oklch(58.2% 0.129 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fac6d',
    500: '#5e8a30',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a30;
$custom-light: #8fac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a30",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 89.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.12946,
    "h": 131.5
  },
  "luminance": 0.2077
}

Semantic roles & 50–950 ramp

primary
#5E8A30
secondary
#8A64B2
accent
#50D892
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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