#5E941F#5E941F

#5E941F is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.6% C 0.154 H 131.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5E941F
RGBrgb(94, 148, 31)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(36.5%, 0%, 79.1%, 42%)
CIE-LABlab(55.74, -36.34, 51.85)
CIE-LCHlch(55.74, 63.32, 125.03°)
OKLaboklab(60.63% -0.1029 0.1149)
OKLCHoklch(60.63% 0.154 131.9)
XYZxyz(15.4532, 23.6578, 5.0483)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E941F #551F94
analogous
#948F1F #5E941F #24941F
triadic
#5E941F #1F5E94 #941F5E
tetradic
#5E941F #1F948F #551F94 #941F24
square
#5E941F #1F948F #551F94 #941F24
split-complementary
#5E941F #1F2494 #8F1F94
monochromatic
#1E2F0A #3E6114 #5E941F #7EC72A #9CDB53

Accessibility & contrast

On white

3.66
#5E941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5E941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E941F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E941F#FFFFFF#000000##000000
##5E941F1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#5F8E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e941f;
/* rgb */ color: rgb(94, 148, 31);
/* oklch */ color: oklch(60.6% 0.154 131.9);
Tailwind
colors: {
  custom: {
    50: '#90b465',
    500: '#5e941f',
    950: '#000000',
  },
}
SCSS
$custom: #5e941f;
$custom-light: #90b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5e941f",
  "rgb": {
    "r": 94,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 87.692,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.15422,
    "h": 131.9
  },
  "luminance": 0.23658
}

Semantic roles & 50–950 ramp

primary
#5E941F
secondary
#8351BE
accent
#3FE88D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E941F

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

Preview Lab → · Contrast checker → · Palette generator →

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