#5FA229#5FA229

#5FA229 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.4% C 0.166 H 134.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5FA229
RGBrgb(95, 162, 41)
HSLhsl(93, 60%, 40%)
HSVhsv(93, 75%, 64%)
CMYKcmyk(41.4%, 0%, 74.7%, 36.5%)
CIE-LABlab(60.28, -41.44, 52.81)
CIE-LCHlch(60.28, 67.13, 128.12°)
OKLaboklab(64.37% -0.116 0.1184)
OKLCHoklch(64.37% 0.166 134.4)
XYZxyz(18.0395, 28.4327, 6.6349)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA229 #6C29A2
analogous
#9CA229 #5FA229 #29A22F
triadic
#5FA229 #295FA2 #A2295F
tetradic
#5FA229 #299CA2 #6C29A2 #A22F29
square
#5FA229 #299CA2 #6C29A2 #A22F29
split-complementary
#5FA229 #2F29A2 #A2299C
monochromatic
#264010 #42711D #5FA229 #7CCD3B #9DDA6C

Accessibility & contrast

On white

3.14
#5FA229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5FA229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA229
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA229#FFFFFF#000000##000000
##5FA2291.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89511
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#5E9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa229;
/* rgb */ color: rgb(95, 162, 41);
/* oklch */ color: oklch(64.4% 0.166 134.4);
Tailwind
colors: {
  custom: {
    50: '#92be6b',
    500: '#5fa229',
    950: '#000000',
  },
}
SCSS
$custom: #5fa229;
$custom-light: #92be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa229",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 93.223,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.16579,
    "h": 134.4
  },
  "luminance": 0.28434
}

Semantic roles & 50–950 ramp

primary
#5FA229
secondary
#9867C0
accent
#45E39C
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA229

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

Preview Lab → · Contrast checker → · Palette generator →

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