#5E9C2D#5E9C2D

#5E9C2D is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.8% C 0.156 H 134.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5E9C2D
RGBrgb(94, 156, 45)
HSLhsl(94, 55%, 39%)
HSVhsv(94, 71%, 61%)
CMYKcmyk(39.7%, 0%, 71.2%, 38.8%)
CIE-LABlab(58.36, -38.94, 49.36)
CIE-LCHlch(58.36, 62.87, 128.27°)
OKLaboklab(62.8% -0.1089 0.1118)
OKLCHoklch(62.8% 0.156 134.3)
XYZxyz(16.9779, 26.3452, 6.6727)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9C2D #6B2D9C
analogous
#969C2D #5E9C2D #2D9C34
triadic
#5E9C2D #2D5E9C #9C2D5E
tetradic
#5E9C2D #2D969C #6B2D9C #9C342D
square
#5E9C2D #2D969C #6B2D9C #9C342D
split-complementary
#5E9C2D #342D9C #9C2D96
monochromatic
#253D12 #416D1F #5E9C2D #7BC83F #9CD56E

Accessibility & contrast

On white

3.35
#5E9C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5E9C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9C2D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9C2D#FFFFFF#000000##000000
##5E9C2D1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901B
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#5D9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e9c2d;
/* rgb */ color: rgb(94, 156, 45);
/* oklch */ color: oklch(62.8% 0.156 134.3);
Tailwind
colors: {
  custom: {
    50: '#91b96d',
    500: '#5e9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #5e9c2d;
$custom-light: #91b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9c2d",
  "rgb": {
    "r": 94,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 93.514,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62798,
    "c": 0.15607,
    "h": 134.3
  },
  "luminance": 0.26346
}

Semantic roles & 50–950 ramp

primary
#5E9C2D
secondary
#9768BC
accent
#49DF9D
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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