#5E9E2F#5E9E2F

#5E9E2F is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.157 H 134.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5E9E2F
RGBrgb(94, 158, 47)
HSLhsl(95, 54%, 40%)
HSVhsv(95, 70%, 62%)
CMYKcmyk(40.5%, 0%, 70.3%, 38%)
CIE-LABlab(59.01, -39.65, 49.23)
CIE-LCHlch(59.01, 63.21, 128.85°)
OKLaboklab(63.33% -0.1107 0.1118)
OKLCHoklch(63.33% 0.157 134.7)
XYZxyz(17.3557, 27.0377, 6.9931)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9E2F #6F2F9E
analogous
#959E2F #5E9E2F #2F9E38
triadic
#5E9E2F #2F5E9E #9E2F5E
tetradic
#5E9E2F #2F959E #6F2F9E #9E382F
square
#5E9E2F #2F959E #6F2F9E #9E382F
split-complementary
#5E9E2F #382F9E #9E2F95
monochromatic
#264013 #426F21 #5E9E2F #7BC743 #9CD572

Accessibility & contrast

On white

3.28
#5E9E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5E9E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9E2F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9E2F#FFFFFF#000000##000000
##5E9E2F1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#5D9888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e9e2f;
/* rgb */ color: rgb(94, 158, 47);
/* oklch */ color: oklch(63.3% 0.157 134.7);
Tailwind
colors: {
  custom: {
    50: '#91bb6e',
    500: '#5e9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #5e9e2f;
$custom-light: #91bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9e2f",
  "rgb": {
    "r": 94,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 94.595,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.15733,
    "h": 134.7
  },
  "luminance": 0.27039
}

Semantic roles & 50–950 ramp

primary
#5E9E2F
secondary
#9B6CBD
accent
#4ADE9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5E9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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