#5FA038#5FA038

#5FA038 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.0% C 0.153 H 135.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5FA038
RGBrgb(95, 160, 56)
HSLhsl(98, 48%, 42%)
HSVhsv(98, 65%, 63%)
CMYKcmyk(40.6%, 0%, 65%, 37.3%)
CIE-LABlab(59.76, -39.41, 46.27)
CIE-LCHlch(59.76, 60.78, 130.42°)
OKLaboklab(63.98% -0.1094 0.1067)
OKLCHoklch(63.98% 0.153 135.7)
XYZxyz(18.0035, 27.8591, 8.1693)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA038 #7938A0
analogous
#93A038 #5FA038 #38A045
triadic
#5FA038 #385FA0 #A0385F
tetradic
#5FA038 #3893A0 #7938A0 #A04538
square
#5FA038 #3893A0 #7938A0 #A04538
split-complementary
#5FA038 #4538A0 #A03893
monochromatic
#294518 #447328 #5FA038 #7DC353 #9FD380

Accessibility & contrast

On white

3.20
#5FA038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5FA038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA038
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA038#FFFFFF#000000##000000
##5FA0381.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6932B
Deuteranopia (green-blind)
#9D8E40
Tritanopia (blue-blind)
#5D9A8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa038;
/* rgb */ color: rgb(95, 160, 56);
/* oklch */ color: oklch(64.0% 0.153 135.7);
Tailwind
colors: {
  custom: {
    50: '#91bc73',
    500: '#5fa038',
    950: '#000000',
  },
}
SCSS
$custom: #5fa038;
$custom-light: #91bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa038",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 97.5,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.15283,
    "h": 135.7
  },
  "luminance": 0.2786
}

Semantic roles & 50–950 ramp

primary
#5FA038
secondary
#A278BC
accent
#50D8A5
background
#F9FBF7
surface
#F2F6ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA038

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

Preview Lab → · Contrast checker → · Palette generator →

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