#A8D21B#A8D21B

#A8D21B is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.5% C 0.192 H 123.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#A8D21B
RGBrgb(168, 210, 27)
HSLhsl(74, 77%, 46%)
HSVhsv(74, 87%, 82%)
CMYKcmyk(20%, 0%, 87.1%, 17.6%)
CIE-LABlab(78.75, -35.62, 74.72)
CIE-LCHlch(78.75, 82.77, 115.49°)
OKLaboklab(80.48% -0.1053 0.1609)
OKLCHoklch(80.48% 0.192 123.2)
XYZxyz(39.3935, 54.4969, 9.4803)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D21B #451BD2
analogous
#D2A01B #A8D21B #4DD21B
triadic
#A8D21B #1BA8D2 #D21BA8
tetradic
#A8D21B #1BD2A0 #451BD2 #D21B4D
square
#A8D21B #1BD2A0 #451BD2 #D21B4D
split-complementary
#A8D21B #1B4DD2 #A01BD2
monochromatic
#51660D #7D9C14 #A8D21B #C1E743 #D3EE7A

Accessibility & contrast

On white

1.76
#A8D21B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#A8D21B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D21B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D21B#FFFFFF#000000##000000
##A8D21B1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC400
Deuteranopia (green-blind)
#D9C333
Tritanopia (blue-blind)
#B1C7B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d21b;
/* rgb */ color: rgb(168, 210, 27);
/* oklch */ color: oklch(80.5% 0.192 123.2);
Tailwind
colors: {
  custom: {
    50: '#c7e06e',
    500: '#a8d21b',
    950: '#000000',
  },
}
SCSS
$custom: #a8d21b;
$custom-light: #c7e06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d21b",
  "rgb": {
    "r": 168,
    "g": 210,
    "b": 27
  },
  "hsl": {
    "h": 73.77,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.80476,
    "c": 0.19228,
    "h": 123.2
  },
  "luminance": 0.54497
}

Semantic roles & 50–950 ramp

primary
#A8D21B
secondary
#332170
accent
#34F460
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141508
muted
#83847D

Preview Lab

Preview with #A8D21B

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

Preview Lab → · Contrast checker → · Palette generator →

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