#A8D54F#A8D54F

#A8D54F is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.5% C 0.168 H 125.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#A8D54F
RGBrgb(168, 213, 79)
HSLhsl(80, 61%, 57%)
HSVhsv(80, 63%, 84%)
CMYKcmyk(21.1%, 0%, 62.9%, 16.5%)
CIE-LABlab(79.88, -34.42, 59.52)
CIE-LCHlch(79.88, 68.76, 120.04°)
OKLaboklab(81.48% -0.0983 0.1365)
OKLCHoklch(81.48% 0.168 125.8)
XYZxyz(41.3541, 56.4773, 16.1181)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D54F #7C4FD5
analogous
#D5BF4F #A8D54F #65D54F
triadic
#A8D54F #4FA8D5 #D54FA8
tetradic
#A8D54F #4FD5BF #7C4FD5 #D54F65
square
#A8D54F #4FD5BF #7C4FD5 #D54F65
split-complementary
#A8D54F #4F65D5 #BF4FD5
monochromatic
#668921 #8BBA2C #A8D54F #C0E180 #D9EDB2

Accessibility & contrast

On white

1.71
#A8D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#A8D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D54F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D54F#FFFFFF#000000##000000
##A8D54F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#DAC559
Tritanopia (blue-blind)
#AFCBB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d54f;
/* rgb */ color: rgb(168, 213, 79);
/* oklch */ color: oklch(81.5% 0.168 125.8);
Tailwind
colors: {
  custom: {
    50: '#c5e286',
    500: '#a8d54f',
    950: '#000000',
  },
}
SCSS
$custom: #a8d54f;
$custom-light: #c5e286;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d54f",
  "rgb": {
    "r": 168,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 80.149,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81482,
    "c": 0.16817,
    "h": 125.8
  },
  "luminance": 0.56478
}

Semantic roles & 50–950 ramp

primary
#A8D54F
secondary
#56398F
accent
#43E579
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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