#A8D04F#A8D04F

#A8D04F is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.3% C 0.162 H 124.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#A8D04F
RGBrgb(168, 208, 79)
HSLhsl(79, 58%, 56%)
HSVhsv(79, 62%, 82%)
CMYKcmyk(19.2%, 0%, 62%, 18.4%)
CIE-LABlab(78.46, -32.11, 57.98)
CIE-LCHlch(78.46, 66.28, 118.98°)
OKLaboklab(80.33% -0.0919 0.1332)
OKLCHoklch(80.33% 0.162 124.6)
XYZxyz(40.1158, 54.0007, 15.7054)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D04F #774FD0
analogous
#D0B84F #A8D04F #68D04F
triadic
#A8D04F #4FA8D0 #D04FA8
tetradic
#A8D04F #4FD0B8 #774FD0 #D04F68
square
#A8D04F #4FD0B8 #774FD0 #D04F68
split-complementary
#A8D04F #4F68D0 #B84FD0
monochromatic
#648223 #8AB230 #A8D04F #C0DD7F #D8EAB0

Accessibility & contrast

On white

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

On black

11.80
#A8D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D04F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D04F#FFFFFF#000000##000000
##A8D04F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33F
Deuteranopia (green-blind)
#D5C258
Tritanopia (blue-blind)
#AFC7B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a8d04f;
/* rgb */ color: rgb(168, 208, 79);
/* oklch */ color: oklch(80.3% 0.162 124.6);
Tailwind
colors: {
  custom: {
    50: '#c5de86',
    500: '#a8d04f',
    950: '#000000',
  },
}
SCSS
$custom: #a8d04f;
$custom-light: #c5de86;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d04f",
  "rgb": {
    "r": 168,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 78.605,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80333,
    "c": 0.16182,
    "h": 124.6
  },
  "luminance": 0.54001
}

Semantic roles & 50–950 ramp

primary
#A8D04F
secondary
#533A89
accent
#47E177
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A8D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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