#5A9E1F#5A9E1F

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

Color values

HEX#5A9E1F
RGBrgb(90, 158, 31)
HSLhsl(92, 67%, 37%)
HSVhsv(92, 80%, 62%)
CMYKcmyk(43%, 0%, 80.4%, 38%)
CIE-LABlab(58.72, -42.07, 54.56)
CIE-LCHlch(58.72, 68.90, 127.64°)
OKLaboklab(63.01% -0.1181 0.1206)
OKLCHoklch(63.01% 0.169 134.4)
XYZxyz(16.6903, 26.7254, 5.5751)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E1F #631F9E
analogous
#9A9E1F #5A9E1F #1F9E23
triadic
#5A9E1F #1F5A9E #9E1F5A
tetradic
#5A9E1F #1F9A9E #631F9E #9E231F
square
#5A9E1F #1F9A9E #631F9E #9E231F
split-complementary
#5A9E1F #231F9E #9E1F9A
monochromatic
#20380B #3D6B15 #5A9E1F #77D129 #97DE59

Accessibility & contrast

On white

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

On black

6.35
#5A9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E1F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E1F#FFFFFF#000000##000000
##5A9E1F1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.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: #5a9e1f;
/* rgb */ color: rgb(90, 158, 31);
/* oklch */ color: oklch(63.0% 0.169 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fbb66',
    500: '#5a9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e1f;
$custom-light: #8fbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e1f",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 92.126,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6301,
    "c": 0.16882,
    "h": 134.4
  },
  "luminance": 0.26726
}

Semantic roles & 50–950 ramp

primary
#5A9E1F
secondary
#9056C2
accent
#3EEA9A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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