#5FAA27#5FAA27

#5FAA27 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.4% C 0.177 H 135.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5FAA27
RGBrgb(95, 170, 39)
HSLhsl(94, 63%, 41%)
HSVhsv(94, 77%, 67%)
CMYKcmyk(44.1%, 0%, 77.1%, 33.3%)
CIE-LABlab(62.78, -44.89, 55.94)
CIE-LCHlch(62.78, 71.72, 128.75°)
OKLaboklab(66.42% -0.1255 0.1247)
OKLCHoklch(66.42% 0.177 135.2)
XYZxyz(19.4598, 31.3277, 6.9405)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA27 #7227AA
analogous
#A0AA27 #5FAA27 #27AA30
triadic
#5FAA27 #275FAA #AA275F
tetradic
#5FAA27 #27A0AA #7227AA #AA3027
square
#5FAA27 #27A0AA #7227AA #AA3027
split-complementary
#5FAA27 #3027AA #AA27A0
monochromatic
#274610 #43781C #5FAA27 #7CD23C #9EDE6E

Accessibility & contrast

On white

2.89
#5FAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5FAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA27
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA27#FFFFFF#000000##000000
##5FAA271.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C05
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#5DA391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa27;
/* rgb */ color: rgb(95, 170, 39);
/* oklch */ color: oklch(66.4% 0.177 135.2);
Tailwind
colors: {
  custom: {
    50: '#93c46b',
    500: '#5faa27',
    950: '#000000',
  },
}
SCSS
$custom: #5faa27;
$custom-light: #93c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa27",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 94.351,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66419,
    "c": 0.17688,
    "h": 135.2
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

primary
#5FAA27
secondary
#9D69C4
accent
#42E6A0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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