#A5D538#A5D538

#A5D538 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.1% C 0.185 H 125.5°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#A5D538
RGBrgb(165, 213, 56)
HSLhsl(78, 65%, 53%)
HSVhsv(78, 74%, 84%)
CMYKcmyk(22.5%, 0%, 73.7%, 16.5%)
CIE-LABlab(79.54, -37.04, 67.74)
CIE-LCHlch(79.54, 77.21, 118.67°)
OKLaboklab(81.11% -0.1072 0.1505)
OKLCHoklch(81.11% 0.185 125.5)
XYZxyz(40.0254, 55.8728, 12.4164)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D538 #6838D5
analogous
#D5B638 #A5D538 #56D538
triadic
#A5D538 #38A5D5 #D538A5
tetradic
#A5D538 #38D5B6 #6838D5 #D53856
square
#A5D538 #38D5B6 #6838D5 #D53856
split-complementary
#A5D538 #3856D5 #B638D5
monochromatic
#5C791A #82AC24 #A5D538 #BCE06B #D3EA9D

Accessibility & contrast

On white

1.72
#A5D538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#A5D538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D538
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D538#FFFFFF#000000##000000
##A5D5381.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C716
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#ACCBB7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d538;
/* rgb */ color: rgb(165, 213, 56);
/* oklch */ color: oklch(81.1% 0.185 125.5);
Tailwind
colors: {
  custom: {
    50: '#c4e27a',
    500: '#a5d538',
    950: '#000000',
  },
}
SCSS
$custom: #a5d538;
$custom-light: #c4e27a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d538",
  "rgb": {
    "r": 165,
    "g": 213,
    "b": 56
  },
  "hsl": {
    "h": 78.344,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81106,
    "c": 0.18483,
    "h": 125.5
  },
  "luminance": 0.55873
}

Semantic roles & 50–950 ramp

primary
#A5D538
secondary
#493081
accent
#40E873
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A5D538

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

Preview Lab → · Contrast checker → · Palette generator →

#A5D538 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva