#5FA234#5FA234

#5FA234 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.5% C 0.159 H 135.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5FA234
RGBrgb(95, 162, 52)
HSLhsl(97, 51%, 42%)
HSVhsv(97, 68%, 64%)
CMYKcmyk(41.4%, 0%, 67.9%, 36.5%)
CIE-LABlab(60.36, -40.62, 48.62)
CIE-LCHlch(60.36, 63.35, 129.88°)
OKLaboklab(64.46% -0.113 0.1112)
OKLCHoklch(64.46% 0.159 135.5)
XYZxyz(18.2590, 28.5205, 7.7911)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA234 #7734A2
analogous
#96A234 #5FA234 #34A240
triadic
#5FA234 #345FA2 #A2345F
tetradic
#5FA234 #3496A2 #7734A2 #A24034
square
#5FA234 #3496A2 #7734A2 #A24034
split-complementary
#5FA234 #4034A2 #A23496
monochromatic
#294516 #447425 #5FA234 #7CC64D #9ED57C

Accessibility & contrast

On white

3.13
#5FA234 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5FA234 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA234
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA234#FFFFFF#000000##000000
##5FA2341.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89525
Deuteranopia (green-blind)
#9F8F3E
Tritanopia (blue-blind)
#5D9C8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa234;
/* rgb */ color: rgb(95, 162, 52);
/* oklch */ color: oklch(64.5% 0.159 135.5);
Tailwind
colors: {
  custom: {
    50: '#92be71',
    500: '#5fa234',
    950: '#000000',
  },
}
SCSS
$custom: #5fa234;
$custom-light: #92be71;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa234",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 96.545,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64458,
    "c": 0.15852,
    "h": 135.5
  },
  "luminance": 0.28521
}

Semantic roles & 50–950 ramp

primary
#5FA234
secondary
#A174BE
accent
#4DDBA3
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA234

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

Preview Lab → · Contrast checker → · Palette generator →

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