#5FB123#5FB123

#5FB123 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.2% C 0.187 H 135.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5FB123
RGBrgb(95, 177, 35)
HSLhsl(95, 67%, 42%)
HSVhsv(95, 80%, 69%)
CMYKcmyk(46.3%, 0%, 80.2%, 30.6%)
CIE-LABlab(64.96, -47.93, 59.24)
CIE-LCHlch(64.96, 76.20, 128.97°)
OKLaboklab(68.2% -0.1339 0.131)
OKLCHoklch(68.2% 0.187 135.6)
XYZxyz(20.7443, 33.9972, 7.0588)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB123 #7523B1
analogous
#A6B123 #5FB123 #23B12E
triadic
#5FB123 #235FB1 #B1235F
tetradic
#5FB123 #23A6B1 #7523B1 #B12E23
square
#5FB123 #23A6B1 #7523B1 #B12E23
split-complementary
#5FB123 #2E23B1 #B123A6
monochromatic
#284B0F #447E19 #5FB123 #7CD839 #9EE26C

Accessibility & contrast

On white

2.69
#5FB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5FB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB123
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB123#FFFFFF#000000##000000
##5FB1231.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#5CAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb123;
/* rgb */ color: rgb(95, 177, 35);
/* oklch */ color: oklch(68.2% 0.187 135.6);
Tailwind
colors: {
  custom: {
    50: '#94c96b',
    500: '#5fb123',
    950: '#000000',
  },
}
SCSS
$custom: #5fb123;
$custom-light: #94c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb123",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 94.648,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.18731,
    "h": 135.6
  },
  "luminance": 0.33999
}

Semantic roles & 50–950 ramp

primary
#5FB123
secondary
#9F68C8
accent
#3EEAA1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB123

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

Preview Lab → · Contrast checker → · Palette generator →

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