#5A9F1E#5A9F1E

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

Color values

HEX#5A9F1E
RGBrgb(90, 159, 30)
HSLhsl(92, 68%, 37%)
HSVhsv(92, 81%, 62%)
CMYKcmyk(43.4%, 0%, 81.1%, 37.6%)
CIE-LABlab(59.03, -42.54, 55.15)
CIE-LCHlch(59.03, 69.65, 127.65°)
OKLaboklab(63.27% -0.1194 0.1217)
OKLCHoklch(63.27% 0.171 134.4)
XYZxyz(16.8486, 27.0627, 5.5639)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F1E #631E9F
analogous
#9B9F1E #5A9F1E #1E9F23
triadic
#5A9F1E #1E5A9F #9F1E5A
tetradic
#5A9F1E #1E9B9F #631E9F #9F231E
square
#5A9F1E #1E9B9F #631E9F #9F231E
split-complementary
#5A9F1E #231E9F #9F1E9B
monochromatic
#20380B #3D6C14 #5A9F1E #77D228 #97DF58

Accessibility & contrast

On white

3.27
#5A9F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9F1E#FFFFFF#000000##000000
##5A9F1E1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#599987
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f1e;
/* rgb */ color: rgb(90, 159, 30);
/* oklch */ color: oklch(63.3% 0.171 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fbc66',
    500: '#5a9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f1e;
$custom-light: #8fbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f1e",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 92.093,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63265,
    "c": 0.17052,
    "h": 134.4
  },
  "luminance": 0.27064
}

Semantic roles & 50–950 ramp

primary
#5A9F1E
secondary
#9056C3
accent
#3DEB9A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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