#5E9731#5E9731

#5E9731 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.147 H 134.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5E9731
RGBrgb(94, 151, 49)
HSLhsl(94, 51%, 39%)
HSVhsv(94, 68%, 59%)
CMYKcmyk(37.7%, 0%, 67.5%, 40.8%)
CIE-LABlab(56.82, -36.43, 46.10)
CIE-LCHlch(56.82, 58.76, 128.31°)
OKLaboklab(61.54% -0.1018 0.1055)
OKLCHoklch(61.54% 0.147 134)
XYZxyz(16.2368, 24.7339, 6.8237)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9731 #6A3197
analogous
#919731 #5E9731 #319737
triadic
#5E9731 #315E97 #97315E
tetradic
#5E9731 #319197 #6A3197 #973731
square
#5E9731 #319197 #6A3197 #973731
split-complementary
#5E9731 #373197 #973191
monochromatic
#243B13 #416922 #5E9731 #7BC243 #9CD171

Accessibility & contrast

On white

3.53
#5E9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5E9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9731
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9731#FFFFFF#000000##000000
##5E97311.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B23
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#5E9182
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e9731;
/* rgb */ color: rgb(94, 151, 49);
/* oklch */ color: oklch(61.5% 0.147 134.0);
Tailwind
colors: {
  custom: {
    50: '#90b66e',
    500: '#5e9731',
    950: '#000000',
  },
}
SCSS
$custom: #5e9731;
$custom-light: #90b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9731",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 93.529,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.14658,
    "h": 134
  },
  "luminance": 0.24735
}

Semantic roles & 50–950 ramp

primary
#5E9731
secondary
#966BB9
accent
#4DDA9C
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9731

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

Preview Lab → · Contrast checker → · Palette generator →

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