#5DA231#5DA231

#5DA231 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.3% C 0.162 H 135.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5DA231
RGBrgb(93, 162, 49)
HSLhsl(97, 54%, 41%)
HSVhsv(97, 70%, 64%)
CMYKcmyk(42.6%, 0%, 69.8%, 36.5%)
CIE-LABlab(60.24, -41.54, 49.69)
CIE-LCHlch(60.24, 64.77, 129.90°)
OKLaboklab(64.33% -0.1156 0.1131)
OKLCHoklch(64.33% 0.162 135.6)
XYZxyz(17.9885, 28.3886, 7.4368)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DA231 #7631A2
analogous
#96A231 #5DA231 #31A23D
triadic
#5DA231 #315DA2 #A2315D
tetradic
#5DA231 #3196A2 #7631A2 #A23D31
square
#5DA231 #3196A2 #7631A2 #A23D31
split-complementary
#5DA231 #3D31A2 #A23196
monochromatic
#274415 #427323 #5DA231 #7AC848 #9CD677

Accessibility & contrast

On white

3.14
#5DA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5DA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5DA231
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DA231#FFFFFF#000000##000000
##5DA2311.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#5B9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5da231;
/* rgb */ color: rgb(93, 162, 49);
/* oklch */ color: oklch(64.3% 0.162 135.6);
Tailwind
colors: {
  custom: {
    50: '#90be70',
    500: '#5da231',
    950: '#000000',
  },
}
SCSS
$custom: #5da231;
$custom-light: #90be70;
$custom-dark: #000000;
JSON
{
  "hex": "#5da231",
  "rgb": {
    "r": 93,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 96.637,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.1617,
    "h": 135.6
  },
  "luminance": 0.2839
}

Semantic roles & 50–950 ramp

primary
#5DA231
secondary
#A071BE
accent
#4BDDA4
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5DA231

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

Preview Lab → · Contrast checker → · Palette generator →

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