#A8C22D#A8C22D

#A8C22D is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.9% C 0.167 H 119.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#A8C22D
RGBrgb(168, 194, 45)
HSLhsl(70, 62%, 47%)
HSVhsv(70, 77%, 76%)
CMYKcmyk(13.4%, 0%, 76.8%, 23.9%)
CIE-LABlab(74.25, -27.54, 66.34)
CIE-LCHlch(74.25, 71.83, 112.55°)
OKLaboklab(76.86% -0.0822 0.1457)
OKLCHoklch(76.86% 0.167 119.4)
XYZxyz(35.9146, 47.0981, 9.6809)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C22D #472DC2
analogous
#C2922D #A8C22D #5EC22D
triadic
#A8C22D #2DA8C2 #C22DA8
tetradic
#A8C22D #2DC292 #472DC2 #C22D5E
square
#A8C22D #2DC292 #472DC2 #C22D5E
split-complementary
#A8C22D #2D5EC2 #922DC2
monochromatic
#525F16 #7D9021 #A8C22D #C1D755 #D3E386

Accessibility & contrast

On white

2.02
#A8C22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#A8C22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C22D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C22D#FFFFFF#000000##000000
##A8C22D1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#B2B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a8c22d;
/* rgb */ color: rgb(168, 194, 45);
/* oklch */ color: oklch(76.9% 0.167 119.4);
Tailwind
colors: {
  custom: {
    50: '#c6d472',
    500: '#a8c22d',
    950: '#000000',
  },
}
SCSS
$custom: #a8c22d;
$custom-light: #c6d472;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c22d",
  "rgb": {
    "r": 168,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 70.47,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76864,
    "c": 0.16733,
    "h": 119.4
  },
  "luminance": 0.47098
}

Semantic roles & 50–950 ramp

primary
#A8C22D
secondary
#8C7ECD
accent
#42E55F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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