#A8D062#A8D062

#A8D062 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.5% C 0.145 H 126.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#A8D062
RGBrgb(168, 208, 98)
HSLhsl(82, 54%, 60%)
HSVhsv(82, 53%, 82%)
CMYKcmyk(19.2%, 0%, 52.9%, 18.4%)
CIE-LABlab(78.65, -30.45, 49.72)
CIE-LCHlch(78.65, 58.30, 121.48°)
OKLaboklab(80.54% -0.0856 0.1175)
OKLCHoklch(80.54% 0.145 126.1)
XYZxyz(40.9089, 54.3180, 19.8821)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D062 #8A62D0
analogous
#D0C162 #A8D062 #71D062
triadic
#A8D062 #62A8D0 #D062A8
tetradic
#A8D062 #62D0C1 #8A62D0 #D06271
square
#A8D062 #62D0C1 #8A62D0 #D06271
split-complementary
#A8D062 #6271D0 #C162D0
monochromatic
#698D2A #8CBC38 #A8D062 #C2DE91 #DCECC0

Accessibility & contrast

On white

1.77
#A8D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#A8D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D062
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D062#FFFFFF#000000##000000
##A8D0621.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#AEC8B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d062;
/* rgb */ color: rgb(168, 208, 98);
/* oklch */ color: oklch(80.5% 0.145 126.1);
Tailwind
colors: {
  custom: {
    50: '#c4de91',
    500: '#a8d062',
    950: '#000000',
  },
}
SCSS
$custom: #a8d062;
$custom-light: #c4de91;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d062",
  "rgb": {
    "r": 168,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 81.818,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.80541,
    "c": 0.14536,
    "h": 126.1
  },
  "luminance": 0.54318
}

Semantic roles & 50–950 ramp

primary
#A8D062
secondary
#604394
accent
#4BDD80
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A8D062

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

Preview Lab → · Contrast checker → · Palette generator →

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