#5FB235#5FB235

#5FB235 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.6% C 0.178 H 137.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5FB235
RGBrgb(95, 178, 53)
HSLhsl(100, 54%, 45%)
HSVhsv(100, 70%, 70%)
CMYKcmyk(46.6%, 0%, 70.2%, 30.2%)
CIE-LABlab(65.38, -47.16, 53.48)
CIE-LCHlch(65.38, 71.30, 131.41°)
OKLaboklab(68.58% -0.1307 0.1215)
OKLCHoklch(68.58% 0.178 137.1)
XYZxyz(21.2817, 34.5293, 8.9109)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB235 #8835B2
analogous
#9DB235 #5FB235 #35B249
triadic
#5FB235 #355FB2 #B2355F
tetradic
#5FB235 #359DB2 #8835B2 #B24935
square
#5FB235 #359DB2 #8835B2 #B24935
split-complementary
#5FB235 #4935B2 #B2359D
monochromatic
#2D5419 #468327 #5FB235 #7FCD57 #A3DB86

Accessibility & contrast

On white

2.66
#5FB235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5FB235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB235
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB235#FFFFFF#000000##000000
##5FB2351.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A321
Deuteranopia (green-blind)
#AD9C41
Tritanopia (blue-blind)
#5AAC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb235;
/* rgb */ color: rgb(95, 178, 53);
/* oklch */ color: oklch(68.6% 0.178 137.1);
Tailwind
colors: {
  custom: {
    50: '#93ca73',
    500: '#5fb235',
    950: '#000000',
  },
}
SCSS
$custom: #5fb235;
$custom-light: #93ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb235",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 99.84,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68579,
    "c": 0.17844,
    "h": 137.1
  },
  "luminance": 0.34531
}

Semantic roles & 50–950 ramp

primary
#5FB235
secondary
#AD7EC5
accent
#4ADDAC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB235

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

Preview Lab → · Contrast checker → · Palette generator →

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