#5FA225#5FA225

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

Color values

HEX#5FA225
RGBrgb(95, 162, 37)
HSLhsl(92, 63%, 39%)
HSVhsv(92, 77%, 64%)
CMYKcmyk(41.4%, 0%, 77.2%, 36.5%)
CIE-LABlab(60.25, -41.69, 54.18)
CIE-LCHlch(60.25, 68.36, 127.58°)
OKLaboklab(64.34% -0.117 0.1207)
OKLCHoklch(64.34% 0.168 134.1)
XYZxyz(17.9732, 28.4062, 6.2858)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA225 #6825A2
analogous
#9EA225 #5FA225 #25A22A
triadic
#5FA225 #255FA2 #A2255F
tetradic
#5FA225 #259EA2 #6825A2 #A22A25
square
#5FA225 #259EA2 #6825A2 #A22A25
split-complementary
#5FA225 #2A25A2 #A2259E
monochromatic
#253E0E #42701A #5FA225 #7CD134 #9CDC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA225#FFFFFF#000000##000000
##5FA2251.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)
#A89505
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa225;
/* rgb */ color: rgb(95, 162, 37);
/* oklch */ color: oklch(64.3% 0.168 134.1);
Tailwind
colors: {
  custom: {
    50: '#92be69',
    500: '#5fa225',
    950: '#000000',
  },
}
SCSS
$custom: #5fa225;
$custom-light: #92be69;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa225",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 92.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.16807,
    "h": 134.1
  },
  "luminance": 0.28407
}

Semantic roles & 50–950 ramp

primary
#5FA225
secondary
#9561C2
accent
#42E69A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA225

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

Preview Lab → · Contrast checker → · Palette generator →

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