#5FA827#5FA827

#5FA827 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.9% C 0.174 H 135.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5FA827
RGBrgb(95, 168, 39)
HSLhsl(94, 62%, 41%)
HSVhsv(94, 77%, 66%)
CMYKcmyk(43.5%, 0%, 76.8%, 34.1%)
CIE-LABlab(62.15, -44.07, 55.34)
CIE-LCHlch(62.15, 70.74, 128.53°)
OKLaboklab(65.9% -0.1233 0.1234)
OKLCHoklch(65.9% 0.174 135)
XYZxyz(19.0877, 30.5836, 6.8165)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA827 #7027A8
analogous
#A0A827 #5FA827 #27A82F
triadic
#5FA827 #275FA8 #A8275F
tetradic
#5FA827 #27A0A8 #7027A8 #A82F27
square
#5FA827 #27A0A8 #7027A8 #A82F27
split-complementary
#5FA827 #2F27A8 #A827A0
monochromatic
#274510 #43761B #5FA827 #7CD13B #9DDD6C

Accessibility & contrast

On white

2.95
#5FA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5FA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA827
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA827#FFFFFF#000000##000000
##5FA8271.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A07
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#5DA190
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa827;
/* rgb */ color: rgb(95, 168, 39);
/* oklch */ color: oklch(65.9% 0.174 135.0);
Tailwind
colors: {
  custom: {
    50: '#93c26b',
    500: '#5fa827',
    950: '#000000',
  },
}
SCSS
$custom: #5fa827;
$custom-light: #93c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa827",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 93.953,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65903,
    "c": 0.17442,
    "h": 135
  },
  "luminance": 0.30585
}

Semantic roles & 50–950 ramp

primary
#5FA827
secondary
#9B67C3
accent
#42E59F
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA827

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

Preview Lab → · Contrast checker → · Palette generator →

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