#A8CD42#A8CD42

#A8CD42 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.5% C 0.168 H 123.2°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#A8CD42
RGBrgb(168, 205, 66)
HSLhsl(76, 58%, 53%)
HSVhsv(76, 68%, 80%)
CMYKcmyk(18%, 0%, 67.8%, 19.6%)
CIE-LABlab(77.51, -31.62, 62.21)
CIE-LCHlch(77.51, 69.78, 116.94°)
OKLaboklab(79.53% -0.0917 0.1404)
OKLCHoklch(79.53% 0.168 123.2)
XYZxyz(38.9635, 52.3806, 13.2110)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CD42 #6742CD
analogous
#CDAC42 #A8CD42 #62CD42
triadic
#A8CD42 #42A8CD #CD42A8
tetradic
#A8CD42 #42CDAC #6742CD #CD4262
square
#A8CD42 #42CDAC #6742CD #CD4262
split-complementary
#A8CD42 #4262CD #AC42CD
monochromatic
#5F761F #85A62C #A8CD42 #BEDA72 #D5E7A3

Accessibility & contrast

On white

1.83
#A8CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#A8CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CD42
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CD42#FFFFFF#000000##000000
##A8CD421.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#B0C3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a8cd42;
/* rgb */ color: rgb(168, 205, 66);
/* oklch */ color: oklch(79.5% 0.168 123.2);
Tailwind
colors: {
  custom: {
    50: '#c5dc7e',
    500: '#a8cd42',
    950: '#000000',
  },
}
SCSS
$custom: #a8cd42;
$custom-light: #c5dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cd42",
  "rgb": {
    "r": 168,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 75.971,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7953,
    "c": 0.16767,
    "h": 123.2
  },
  "luminance": 0.52381
}

Semantic roles & 50–950 ramp

primary
#A8CD42
secondary
#49357E
accent
#46E170
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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