#5FA12D#5FA12D

#5FA12D is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.162 H 134.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5FA12D
RGBrgb(95, 161, 45)
HSLhsl(94, 56%, 40%)
HSVhsv(94, 72%, 63%)
CMYKcmyk(41%, 0%, 72%, 36.9%)
CIE-LABlab(59.99, -40.74, 51.04)
CIE-LCHlch(59.99, 65.30, 128.60°)
OKLaboklab(64.14% -0.1139 0.1153)
OKLCHoklch(64.14% 0.162 134.6)
XYZxyz(17.9375, 28.1112, 6.9630)
Luminance0.2811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA12D #6F2DA1
analogous
#99A12D #5FA12D #2DA135
triadic
#5FA12D #2D5FA1 #A12D5F
tetradic
#5FA12D #2D99A1 #6F2DA1 #A1352D
square
#5FA12D #2D99A1 #6F2DA1 #A1352D
split-complementary
#5FA12D #352DA1 #A12D99
monochromatic
#274112 #437120 #5FA12D #7CCA41 #9DD771

Accessibility & contrast

On white

3.17
#5FA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5FA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA12D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA12D#FFFFFF#000000##000000
##5FA12D1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa12d;
/* rgb */ color: rgb(95, 161, 45);
/* oklch */ color: oklch(64.1% 0.162 134.6);
Tailwind
colors: {
  custom: {
    50: '#92bd6d',
    500: '#5fa12d',
    950: '#000000',
  },
}
SCSS
$custom: #5fa12d;
$custom-light: #92bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa12d",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 94.138,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.16204,
    "h": 134.6
  },
  "luminance": 0.28112
}

Semantic roles & 50–950 ramp

primary
#5FA12D
secondary
#9B6BBF
accent
#48E09E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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