#5DA228#5DA228

#5DA228 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.3% C 0.167 H 134.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5DA228
RGBrgb(93, 162, 40)
HSLhsl(94, 60%, 40%)
HSVhsv(94, 75%, 64%)
CMYKcmyk(42.6%, 0%, 75.3%, 36.5%)
CIE-LABlab(60.18, -42.19, 53.04)
CIE-LCHlch(60.18, 67.77, 128.50°)
OKLaboklab(64.26% -0.118 0.1188)
OKLCHoklch(64.26% 0.167 134.8)
XYZxyz(17.8172, 28.3200, 6.5346)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DA228 #6D28A2
analogous
#9AA228 #5DA228 #28A230
triadic
#5DA228 #285DA2 #A2285D
tetradic
#5DA228 #289AA2 #6D28A2 #A23028
square
#5DA228 #289AA2 #6D28A2 #A23028
split-complementary
#5DA228 #3028A2 #A2289A
monochromatic
#254010 #41711C #5DA228 #7ACE39 #9BDA6A

Accessibility & contrast

On white

3.15
#5DA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5DA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5DA228
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DA228#FFFFFF#000000##000000
##5DA2281.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950E
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#5C9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5da228;
/* rgb */ color: rgb(93, 162, 40);
/* oklch */ color: oklch(64.3% 0.167 134.8);
Tailwind
colors: {
  custom: {
    50: '#91be6b',
    500: '#5da228',
    950: '#000000',
  },
}
SCSS
$custom: #5da228;
$custom-light: #91be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5da228",
  "rgb": {
    "r": 93,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 93.934,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.16743,
    "h": 134.8
  },
  "luminance": 0.28321
}

Semantic roles & 50–950 ramp

primary
#5DA228
secondary
#9965C1
accent
#44E49E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5DA228

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

Preview Lab → · Contrast checker → · Palette generator →

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