#ACCD42#ACCD42

#ACCD42 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.8% C 0.166 H 121.8°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#ACCD42
RGBrgb(172, 205, 66)
HSLhsl(74, 58%, 53%)
HSVhsv(74, 68%, 80%)
CMYKcmyk(16.1%, 0%, 67.8%, 19.6%)
CIE-LABlab(77.77, -30.03, 62.56)
CIE-LCHlch(77.77, 69.40, 115.64°)
OKLaboklab(79.81% -0.0875 0.141)
OKLCHoklch(79.81% 0.166 121.8)
XYZxyz(39.8285, 52.8266, 13.2515)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCD42 #6342CD
analogous
#CDA942 #ACCD42 #66CD42
triadic
#ACCD42 #42ACCD #CD42AC
tetradic
#ACCD42 #42CDA9 #6342CD #CD4266
square
#ACCD42 #42CDA9 #6342CD #CD4266
split-complementary
#ACCD42 #4266CD #A942CD
monochromatic
#61761F #89A62C #ACCD42 #C1DA72 #D7E7A3

Accessibility & contrast

On white

1.82
#ACCD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#ACCD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCD42
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCD42#FFFFFF#000000##000000
##ACCD421.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#B5C3B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #accd42;
/* rgb */ color: rgb(172, 205, 66);
/* oklch */ color: oklch(79.8% 0.166 121.8);
Tailwind
colors: {
  custom: {
    50: '#c8dc7e',
    500: '#accd42',
    950: '#000000',
  },
}
SCSS
$custom: #accd42;
$custom-light: #c8dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#accd42",
  "rgb": {
    "r": 172,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 74.245,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79811,
    "c": 0.166,
    "h": 121.8
  },
  "luminance": 0.52827
}

Semantic roles & 50–950 ramp

primary
#ACCD42
secondary
#46357E
accent
#46E16B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ACCD42

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

Preview Lab → · Contrast checker → · Palette generator →

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