#5FA12C#5FA12C

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

Color values

HEX#5FA12C
RGBrgb(95, 161, 44)
HSLhsl(94, 57%, 40%)
HSVhsv(94, 73%, 63%)
CMYKcmyk(41%, 0%, 72.7%, 36.9%)
CIE-LABlab(59.98, -40.81, 51.41)
CIE-LCHlch(59.98, 65.64, 128.44°)
OKLaboklab(64.13% -0.1141 0.1159)
OKLCHoklch(64.13% 0.163 134.6)
XYZxyz(17.9184, 28.1036, 6.8628)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA12C #6E2CA1
analogous
#99A12C #5FA12C #2CA133
triadic
#5FA12C #2C5FA1 #A12C5F
tetradic
#5FA12C #2C99A1 #6E2CA1 #A1332C
square
#5FA12C #2C99A1 #6E2CA1 #A1332C
split-complementary
#5FA12C #332CA1 #A12C99
monochromatic
#264112 #43711F #5FA12C #7CCB40 #9DD870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA12C#FFFFFF#000000##000000
##5FA12C1.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)
#A79418
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa12c;
/* rgb */ color: rgb(95, 161, 44);
/* oklch */ color: oklch(64.1% 0.163 134.6);
Tailwind
colors: {
  custom: {
    50: '#92bd6d',
    500: '#5fa12c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa12c;
$custom-light: #92bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa12c",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 93.846,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.16267,
    "h": 134.6
  },
  "luminance": 0.28104
}

Semantic roles & 50–950 ramp

primary
#5FA12C
secondary
#9A6ABF
accent
#47E09E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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