#A8D948#A8D948

#A8D948 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.3% C 0.178 H 126.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#A8D948
RGBrgb(168, 217, 72)
HSLhsl(80, 66%, 57%)
HSVhsv(80, 67%, 85%)
CMYKcmyk(22.6%, 0%, 66.8%, 14.9%)
CIE-LABlab(80.97, -36.74, 63.47)
CIE-LCHlch(80.97, 73.34, 120.07°)
OKLaboklab(82.34% -0.1053 0.1439)
OKLCHoklch(82.34% 0.178 126.2)
XYZxyz(42.1311, 58.4178, 15.1857)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D948 #7948D9
analogous
#D9C248 #A8D948 #60D948
triadic
#A8D948 #48A8D9 #D948A8
tetradic
#A8D948 #48D9C2 #7948D9 #D94860
square
#A8D948 #48D9C2 #7948D9 #D94860
split-complementary
#A8D948 #4860D9 #C248D9
monochromatic
#658A1D #8ABD27 #A8D948 #C0E47B #D8EEAD

Accessibility & contrast

On white

1.66
#A8D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#A8D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D948
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D948#FFFFFF#000000##000000
##A8D9481.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB33
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#AFCFBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a8d948;
/* rgb */ color: rgb(168, 217, 72);
/* oklch */ color: oklch(82.3% 0.178 126.2);
Tailwind
colors: {
  custom: {
    50: '#c5e582',
    500: '#a8d948',
    950: '#000000',
  },
}
SCSS
$custom: #a8d948;
$custom-light: #c5e582;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d948",
  "rgb": {
    "r": 168,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 80.276,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82344,
    "c": 0.17829,
    "h": 126.2
  },
  "luminance": 0.58418
}

Semantic roles & 50–950 ramp

primary
#A8D948
secondary
#543590
accent
#3FE978
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D948

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

Preview Lab → · Contrast checker → · Palette generator →

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