#5FA534#5FA534

#5FA534 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.2% C 0.162 H 135.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5FA534
RGBrgb(95, 165, 52)
HSLhsl(97, 52%, 43%)
HSVhsv(97, 68%, 65%)
CMYKcmyk(42.4%, 0%, 68.5%, 35.3%)
CIE-LABlab(61.30, -41.89, 49.61)
CIE-LCHlch(61.30, 64.93, 130.18°)
OKLaboklab(65.23% -0.1165 0.1133)
OKLCHoklch(65.23% 0.162 135.8)
XYZxyz(18.7938, 29.5900, 7.9693)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA534 #7A34A5
analogous
#98A534 #5FA534 #34A541
triadic
#5FA534 #345FA5 #A5345F
tetradic
#5FA534 #3498A5 #7A34A5 #A54134
square
#5FA534 #3498A5 #7A34A5 #A54134
split-complementary
#5FA534 #4134A5 #A53498
monochromatic
#294817 #447625 #5FA534 #7DC74F #9FD67D

Accessibility & contrast

On white

3.04
#5FA534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#5FA534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA534
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA534#FFFFFF#000000##000000
##5FA5341.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9824
Deuteranopia (green-blind)
#A1923E
Tritanopia (blue-blind)
#5D9F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa534;
/* rgb */ color: rgb(95, 165, 52);
/* oklch */ color: oklch(65.2% 0.162 135.8);
Tailwind
colors: {
  custom: {
    50: '#92c072',
    500: '#5fa534',
    950: '#000000',
  },
}
SCSS
$custom: #5fa534;
$custom-light: #92c072;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa534",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 97.168,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6523,
    "c": 0.16246,
    "h": 135.8
  },
  "luminance": 0.29591
}

Semantic roles & 50–950 ramp

primary
#5FA534
secondary
#A376BF
accent
#4CDCA5
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA534

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

Preview Lab → · Contrast checker → · Palette generator →

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