#A8D128#A8D128

#A8D128 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.3% C 0.187 H 123.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#A8D128
RGBrgb(168, 209, 40)
HSLhsl(75, 68%, 49%)
HSVhsv(75, 81%, 82%)
CMYKcmyk(19.6%, 0%, 80.9%, 18%)
CIE-LABlab(78.51, -34.76, 71.60)
CIE-LCHlch(78.51, 79.59, 115.90°)
OKLaboklab(80.29% -0.1023 0.1561)
OKLCHoklch(80.29% 0.187 123.2)
XYZxyz(39.3325, 54.0787, 10.3732)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D128 #5128D1
analogous
#D1A628 #A8D128 #54D128
triadic
#A8D128 #28A8D1 #D128A8
tetradic
#A8D128 #28D1A6 #5128D1 #D12854
square
#A8D128 #28D1A6 #5128D1 #D12854
split-complementary
#A8D128 #2854D1 #A628D1
monochromatic
#556A14 #7F9E1E #A8D128 #BEDF57 #D2E98B

Accessibility & contrast

On white

1.78
#A8D128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#A8D128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D128
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D128#FFFFFF#000000##000000
##A8D1281.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D8C23B
Tritanopia (blue-blind)
#B1C6B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a8d128;
/* rgb */ color: rgb(168, 209, 40);
/* oklch */ color: oklch(80.3% 0.187 123.2);
Tailwind
colors: {
  custom: {
    50: '#c6df72',
    500: '#a8d128',
    950: '#000000',
  },
}
SCSS
$custom: #a8d128;
$custom-light: #c6df72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d128",
  "rgb": {
    "r": 168,
    "g": 209,
    "b": 40
  },
  "hsl": {
    "h": 74.556,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80293,
    "c": 0.18662,
    "h": 123.2
  },
  "luminance": 0.54079
}

Semantic roles & 50–950 ramp

primary
#A8D128
secondary
#3B2974
accent
#3DEB67
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A8D128

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

Preview Lab → · Contrast checker → · Palette generator →

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