#5DB227#5DB227

#5DB227 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.4% C 0.188 H 136.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5DB227
RGBrgb(93, 178, 39)
HSLhsl(97, 64%, 43%)
HSVhsv(97, 78%, 70%)
CMYKcmyk(47.8%, 0%, 78.1%, 30.2%)
CIE-LABlab(65.21, -48.73, 58.23)
CIE-LCHlch(65.21, 75.93, 129.93°)
OKLaboklab(68.39% -0.1357 0.1295)
OKLCHoklch(68.39% 0.188 136.3)
XYZxyz(20.8002, 34.3130, 7.4461)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DB227 #7C27B2
analogous
#A2B227 #5DB227 #27B237
triadic
#5DB227 #275DB2 #B2275D
tetradic
#5DB227 #27A2B2 #7C27B2 #B23727
square
#5DB227 #27A2B2 #7C27B2 #B23727
split-complementary
#5DB227 #3727B2 #B227A2
monochromatic
#294E11 #43801C #5DB227 #7BD541 #9EE073

Accessibility & contrast

On white

2.67
#5DB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#5DB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DB227
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DB227#FFFFFF#000000##000000
##5DB2271.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#59AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5db227;
/* rgb */ color: rgb(93, 178, 39);
/* oklch */ color: oklch(68.4% 0.188 136.3);
Tailwind
colors: {
  custom: {
    50: '#93ca6c',
    500: '#5db227',
    950: '#000000',
  },
}
SCSS
$custom: #5db227;
$custom-light: #93ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5db227",
  "rgb": {
    "r": 93,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 96.691,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68388,
    "c": 0.18757,
    "h": 136.3
  },
  "luminance": 0.34314
}

Semantic roles & 50–950 ramp

primary
#5DB227
secondary
#A46DC8
accent
#41E7A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5DB227

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

Preview Lab → · Contrast checker → · Palette generator →

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