#5DB231#5DB231

#5DB231 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.5% C 0.182 H 137.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5DB231
RGBrgb(93, 178, 49)
HSLhsl(100, 57%, 45%)
HSVhsv(100, 72%, 70%)
CMYKcmyk(47.8%, 0%, 72.5%, 30.2%)
CIE-LABlab(65.27, -48.08, 54.86)
CIE-LCHlch(65.27, 72.95, 131.24°)
OKLaboklab(68.46% -0.1333 0.1239)
OKLCHoklch(68.46% 0.182 137.1)
XYZxyz(20.9883, 34.3883, 8.4368)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DB231 #8631B2
analogous
#9EB231 #5DB231 #31B246
triadic
#5DB231 #315DB2 #B2315D
tetradic
#5DB231 #319EB2 #8631B2 #B24631
square
#5DB231 #319EB2 #8631B2 #B24631
split-complementary
#5DB231 #4631B2 #B2319E
monochromatic
#2B5217 #448224 #5DB231 #7CCF51 #A0DC81

Accessibility & contrast

On white

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

On black

7.88
#5DB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DB231
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DB231#FFFFFF#000000##000000
##5DB2311.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#58AC99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5db231;
/* rgb */ color: rgb(93, 178, 49);
/* oklch */ color: oklch(68.5% 0.182 137.1);
Tailwind
colors: {
  custom: {
    50: '#92ca71',
    500: '#5db231',
    950: '#000000',
  },
}
SCSS
$custom: #5db231;
$custom-light: #92ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#5db231",
  "rgb": {
    "r": 93,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 99.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68456,
    "c": 0.18198,
    "h": 137.1
  },
  "luminance": 0.3439
}

Semantic roles & 50–950 ramp

primary
#5DB231
secondary
#AB79C5
accent
#48E0AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5DB231

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

Preview Lab → · Contrast checker → · Palette generator →

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