#5FA227#5FA227

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

Color values

HEX#5FA227
RGBrgb(95, 162, 39)
HSLhsl(93, 61%, 39%)
HSVhsv(93, 76%, 64%)
CMYKcmyk(41.4%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.27, -41.57, 53.50)
CIE-LCHlch(60.27, 67.75, 127.84°)
OKLaboklab(64.35% -0.1165 0.1196)
OKLCHoklch(64.35% 0.167 134.3)
XYZxyz(18.0055, 28.4191, 6.4558)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA227 #6A27A2
analogous
#9DA227 #5FA227 #27A22D
triadic
#5FA227 #275FA2 #A2275F
tetradic
#5FA227 #279DA2 #6A27A2 #A22D27
square
#5FA227 #279DA2 #6A27A2 #A22D27
split-complementary
#5FA227 #2D27A2 #A2279D
monochromatic
#253F0F #42711B #5FA227 #7CCF37 #9DDB69

Accessibility & contrast

On white

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

On black

6.68
#5FA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA227
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA227#FFFFFF#000000##000000
##5FA2271.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa227;
/* rgb */ color: rgb(95, 162, 39);
/* oklch */ color: oklch(64.4% 0.167 134.3);
Tailwind
colors: {
  custom: {
    50: '#92be6a',
    500: '#5fa227',
    950: '#000000',
  },
}
SCSS
$custom: #5fa227;
$custom-light: #92be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa227",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 92.683,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.16695,
    "h": 134.3
  },
  "luminance": 0.2842
}

Semantic roles & 50–950 ramp

primary
#5FA227
secondary
#9764C1
accent
#43E49B
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA227

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

Preview Lab → · Contrast checker → · Palette generator →

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