#5FA738#5FA738

#5FA738 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.8% C 0.162 H 136.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5FA738
RGBrgb(95, 167, 56)
HSLhsl(99, 50%, 44%)
HSVhsv(99, 66%, 65%)
CMYKcmyk(43.1%, 0%, 66.5%, 34.5%)
CIE-LABlab(61.96, -42.39, 48.65)
CIE-LCHlch(61.96, 64.53, 131.07°)
OKLaboklab(65.78% -0.1175 0.1118)
OKLCHoklch(65.78% 0.162 136.4)
XYZxyz(19.2513, 30.3547, 8.5853)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA738 #8038A7
analogous
#96A738 #5FA738 #38A748
triadic
#5FA738 #385FA7 #A7385F
tetradic
#5FA738 #3896A7 #8038A7 #A74838
square
#5FA738 #3896A7 #8038A7 #A74838
split-complementary
#5FA738 #4838A7 #A73896
monochromatic
#2B4B19 #457929 #5FA738 #7DC656 #A1D684

Accessibility & contrast

On white

2.97
#5FA738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5FA738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA738
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA738#FFFFFF#000000##000000
##5FA7381.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#A39341
Tritanopia (blue-blind)
#5CA190
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa738;
/* rgb */ color: rgb(95, 167, 56);
/* oklch */ color: oklch(65.8% 0.162 136.4);
Tailwind
colors: {
  custom: {
    50: '#92c274',
    500: '#5fa738',
    950: '#000000',
  },
}
SCSS
$custom: #5fa738;
$custom-light: #92c274;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa738",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 98.919,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65781,
    "c": 0.16218,
    "h": 136.4
  },
  "luminance": 0.30356
}

Semantic roles & 50–950 ramp

primary
#5FA738
secondary
#A87BBF
accent
#4FD9A9
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA738

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

Preview Lab → · Contrast checker → · Palette generator →

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