#5E9B2F#5E9B2F

#5E9B2F is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.6% C 0.153 H 134.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5E9B2F
RGBrgb(94, 155, 47)
HSLhsl(94, 53%, 40%)
HSVhsv(94, 70%, 61%)
CMYKcmyk(39.4%, 0%, 69.7%, 39.2%)
CIE-LABlab(58.06, -38.35, 48.25)
CIE-LCHlch(58.06, 61.63, 128.48°)
OKLaboklab(62.56% -0.1072 0.1097)
OKLCHoklch(62.56% 0.153 134.3)
XYZxyz(16.8502, 26.0268, 6.8246)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9B2F #6C2F9B
analogous
#949B2F #5E9B2F #2F9B36
triadic
#5E9B2F #2F5E9B #9B2F5E
tetradic
#5E9B2F #2F949B #6C2F9B #9B362F
square
#5E9B2F #2F949B #6C2F9B #9B362F
split-complementary
#5E9B2F #362F9B #9B2F94
monochromatic
#253D13 #426C21 #5E9B2F #7BC642 #9CD471

Accessibility & contrast

On white

3.38
#5E9B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5E9B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9B2F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9B2F#FFFFFF#000000##000000
##5E9B2F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1F
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#5D9585
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e9b2f;
/* rgb */ color: rgb(94, 155, 47);
/* oklch */ color: oklch(62.6% 0.153 134.3);
Tailwind
colors: {
  custom: {
    50: '#90b96e',
    500: '#5e9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #5e9b2f;
$custom-light: #90b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9b2f",
  "rgb": {
    "r": 94,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 93.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.15338,
    "h": 134.3
  },
  "luminance": 0.26028
}

Semantic roles & 50–950 ramp

primary
#5E9B2F
secondary
#986ABB
accent
#4BDD9D
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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