#A8D538#A8D538

#A8D538 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.3% C 0.183 H 124.6°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#A8D538
RGBrgb(168, 213, 56)
HSLhsl(77, 65%, 53%)
HSVhsv(77, 74%, 84%)
CMYKcmyk(21.1%, 0%, 73.7%, 16.5%)
CIE-LABlab(79.73, -35.88, 67.98)
CIE-LCHlch(79.73, 76.87, 117.82°)
OKLaboklab(81.3% -0.1042 0.151)
OKLCHoklch(81.3% 0.183 124.6)
XYZxyz(40.6569, 56.1984, 12.4460)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D538 #6538D5
analogous
#D5B338 #A8D538 #5AD538
triadic
#A8D538 #38A8D5 #D538A8
tetradic
#A8D538 #38D5B3 #6538D5 #D5385A
square
#A8D538 #38D5B3 #6538D5 #D5385A
split-complementary
#A8D538 #385AD5 #B338D5
monochromatic
#5E791A #85AC24 #A8D538 #BEE06B #D4EA9D

Accessibility & contrast

On white

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

On black

12.24
#A8D538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D538
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D538#FFFFFF#000000##000000
##A8D5381.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C716
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#B0CBB7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d538;
/* rgb */ color: rgb(168, 213, 56);
/* oklch */ color: oklch(81.3% 0.183 124.6);
Tailwind
colors: {
  custom: {
    50: '#c6e27a',
    500: '#a8d538',
    950: '#000000',
  },
}
SCSS
$custom: #a8d538;
$custom-light: #c6e27a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d538",
  "rgb": {
    "r": 168,
    "g": 213,
    "b": 56
  },
  "hsl": {
    "h": 77.197,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81304,
    "c": 0.18346,
    "h": 124.6
  },
  "luminance": 0.56199
}

Semantic roles & 50–950 ramp

primary
#A8D538
secondary
#473081
accent
#40E870
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D538

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

Preview Lab → · Contrast checker → · Palette generator →

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