#5A9E1E#5A9E1E

#5A9E1E is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.169 H 134.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9E1E
RGBrgb(90, 158, 30)
HSLhsl(92, 68%, 37%)
HSVhsv(92, 81%, 62%)
CMYKcmyk(43%, 0%, 81%, 38%)
CIE-LABlab(58.71, -42.13, 54.86)
CIE-LCHlch(58.71, 69.16, 127.52°)
OKLaboklab(63% -0.1183 0.1211)
OKLCHoklch(63% 0.169 134.3)
XYZxyz(16.6773, 26.7202, 5.5068)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E1E #621E9E
analogous
#9A9E1E #5A9E1E #1E9E22
triadic
#5A9E1E #1E5A9E #9E1E5A
tetradic
#5A9E1E #1E9A9E #621E9E #9E221E
square
#5A9E1E #1E9A9E #621E9E #9E221E
split-complementary
#5A9E1E #221E9E #9E1E9A
monochromatic
#1F370A #3D6B14 #5A9E1E #77D128 #97DF57

Accessibility & contrast

On white

3.31
#5A9E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A9E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E1E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E1E#FFFFFF#000000##000000
##5A9E1E1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e1e;
/* rgb */ color: rgb(90, 158, 30);
/* oklch */ color: oklch(63.0% 0.169 134.3);
Tailwind
colors: {
  custom: {
    50: '#8fbb66',
    500: '#5a9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e1e;
$custom-light: #8fbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e1e",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 91.875,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.16929,
    "h": 134.3
  },
  "luminance": 0.26721
}

Semantic roles & 50–950 ramp

primary
#5A9E1E
secondary
#8F55C3
accent
#3DEB99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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