#A8D462#A8D462

#A8D462 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.5% C 0.151 H 127.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#A8D462
RGBrgb(168, 212, 98)
HSLhsl(83, 57%, 61%)
HSVhsv(83, 54%, 83%)
CMYKcmyk(20.8%, 0%, 53.8%, 16.9%)
CIE-LABlab(79.78, -32.32, 51.05)
CIE-LCHlch(79.78, 60.42, 122.34°)
OKLaboklab(81.46% -0.0908 0.1204)
OKLCHoklch(81.46% 0.151 127)
XYZxyz(41.8964, 56.2930, 20.2113)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D462 #8E62D4
analogous
#D4C762 #A8D462 #6FD462
triadic
#A8D462 #62A8D4 #D462A8
tetradic
#A8D462 #62D4C7 #8E62D4 #D4626F
square
#A8D462 #62D4C7 #8E62D4 #D4626F
split-complementary
#A8D462 #626FD4 #C762D4
monochromatic
#6A9328 #8DC335 #A8D462 #C3E192 #DDEEC2

Accessibility & contrast

On white

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

On black

12.26
#A8D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D462
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D462#FFFFFF#000000##000000
##A8D4621.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#D7C569
Tritanopia (blue-blind)
#ADCBBB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d462;
/* rgb */ color: rgb(168, 212, 98);
/* oklch */ color: oklch(81.5% 0.151 127.0);
Tailwind
colors: {
  custom: {
    50: '#c4e192',
    500: '#a8d462',
    950: '#000000',
  },
}
SCSS
$custom: #a8d462;
$custom-light: #c4e192;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d462",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 83.158,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81456,
    "c": 0.15079,
    "h": 127
  },
  "luminance": 0.56294
}

Semantic roles & 50–950 ramp

primary
#A8D462
secondary
#634299
accent
#21C560
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A8D462

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

Preview Lab → · Contrast checker → · Palette generator →

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