#5FA638#5FA638

#5FA638 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.5% C 0.161 H 136.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5FA638
RGBrgb(95, 166, 56)
HSLhsl(99, 50%, 44%)
HSVhsv(99, 66%, 65%)
CMYKcmyk(42.8%, 0%, 66.3%, 34.9%)
CIE-LABlab(61.65, -41.97, 48.31)
CIE-LCHlch(61.65, 64.00, 130.98°)
OKLaboklab(65.52% -0.1164 0.111)
OKLCHoklch(65.52% 0.161 136.3)
XYZxyz(19.0688, 29.9898, 8.5244)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA638 #7F38A6
analogous
#96A638 #5FA638 #38A648
triadic
#5FA638 #385FA6 #A6385F
tetradic
#5FA638 #3896A6 #7F38A6 #A64838
square
#5FA638 #3896A6 #7F38A6 #A64838
split-complementary
#5FA638 #4838A6 #A63896
monochromatic
#2B4A19 #457829 #5FA638 #7DC655 #A0D583

Accessibility & contrast

On white

3.00
#5FA638 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5FA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA638
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA638#FFFFFF#000000##000000
##5FA6381.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#A29341
Tritanopia (blue-blind)
#5CA08F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa638;
/* rgb */ color: rgb(95, 166, 56);
/* oklch */ color: oklch(65.5% 0.161 136.3);
Tailwind
colors: {
  custom: {
    50: '#92c174',
    500: '#5fa638',
    950: '#000000',
  },
}
SCSS
$custom: #5fa638;
$custom-light: #92c174;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa638",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 98.727,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.16085,
    "h": 136.3
  },
  "luminance": 0.29991
}

Semantic roles & 50–950 ramp

primary
#5FA638
secondary
#A77BBF
accent
#4FD9A8
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA638

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

Preview Lab → · Contrast checker → · Palette generator →

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