#A8D052#A8D052

#A8D052 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.4% C 0.159 H 124.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#A8D052
RGBrgb(168, 208, 82)
HSLhsl(79, 57%, 57%)
HSVhsv(79, 61%, 82%)
CMYKcmyk(19.2%, 0%, 60.6%, 18.4%)
CIE-LABlab(78.49, -31.87, 56.73)
CIE-LCHlch(78.49, 65.07, 119.33°)
OKLaboklab(80.36% -0.0909 0.1309)
OKLCHoklch(80.36% 0.159 124.8)
XYZxyz(40.2275, 54.0454, 16.2935)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D052 #7A52D0
analogous
#D0B952 #A8D052 #69D052
triadic
#A8D052 #52A8D0 #D052A8
tetradic
#A8D052 #52D0B9 #7A52D0 #D05269
square
#A8D052 #52D0B9 #7A52D0 #D05269
split-complementary
#A8D052 #5269D0 #B952D0
monochromatic
#658424 #8AB431 #A8D052 #C0DD82 #D8EAB2

Accessibility & contrast

On white

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

On black

11.81
#A8D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D052
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D052#FFFFFF#000000##000000
##A8D0521.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8d052;
/* rgb */ color: rgb(168, 208, 82);
/* oklch */ color: oklch(80.4% 0.159 124.8);
Tailwind
colors: {
  custom: {
    50: '#c5de87',
    500: '#a8d052',
    950: '#000000',
  },
}
SCSS
$custom: #a8d052;
$custom-light: #c5de87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d052",
  "rgb": {
    "r": 168,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 79.048,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80362,
    "c": 0.15941,
    "h": 124.8
  },
  "luminance": 0.54046
}

Semantic roles & 50–950 ramp

primary
#A8D052
secondary
#553B8B
accent
#47E178
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D052

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

Preview Lab → · Contrast checker → · Palette generator →

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