#A8D258#A8D258

#A8D258 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.9% C 0.157 H 125.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#A8D258
RGBrgb(168, 210, 88)
HSLhsl(81, 58%, 58%)
HSVhsv(81, 58%, 82%)
CMYKcmyk(20%, 0%, 58.1%, 17.6%)
CIE-LABlab(79.11, -32.31, 54.81)
CIE-LCHlch(79.11, 63.62, 120.52°)
OKLaboklab(80.88% -0.0916 0.1275)
OKLCHoklch(80.88% 0.157 125.7)
XYZxyz(40.9566, 55.1221, 17.7125)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D258 #8258D2
analogous
#D2BF58 #A8D258 #6BD258
triadic
#A8D258 #58A8D2 #D258A8
tetradic
#A8D258 #58D2BF #8258D2 #D2586B
square
#A8D258 #58D2BF #8258D2 #D2586B
split-complementary
#A8D258 #586BD2 #BF58D2
monochromatic
#688A25 #8CBB32 #A8D258 #C1DF88 #DAECB8

Accessibility & contrast

On white

1.75
#A8D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#A8D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D258
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D258#FFFFFF#000000##000000
##A8D2581.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#D7C360
Tritanopia (blue-blind)
#AEC9B8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a8d258;
/* rgb */ color: rgb(168, 210, 88);
/* oklch */ color: oklch(80.9% 0.157 125.7);
Tailwind
colors: {
  custom: {
    50: '#c4e08b',
    500: '#a8d258',
    950: '#000000',
  },
}
SCSS
$custom: #a8d258;
$custom-light: #c4e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d258",
  "rgb": {
    "r": 168,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 80.656,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80883,
    "c": 0.157,
    "h": 125.7
  },
  "luminance": 0.55123
}

Semantic roles & 50–950 ramp

primary
#A8D258
secondary
#5A3E91
accent
#47E17C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D258

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

Preview Lab → · Contrast checker → · Palette generator →

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