#ACCD52#ACCD52

#ACCD52 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.154 H 122.6°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#ACCD52
RGBrgb(172, 205, 82)
HSLhsl(76, 55%, 56%)
HSVhsv(76, 60%, 80%)
CMYKcmyk(16.1%, 0%, 60%, 19.6%)
CIE-LABlab(77.90, -28.90, 56.15)
CIE-LCHlch(77.90, 63.16, 117.23°)
OKLaboklab(79.96% -0.0829 0.1296)
OKLCHoklch(79.96% 0.154 122.6)
XYZxyz(40.3679, 53.0424, 16.0925)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCD52 #7352CD
analogous
#CDB152 #ACCD52 #6FCD52
triadic
#ACCD52 #52ACCD #CD52AC
tetradic
#ACCD52 #52CDB1 #7352CD #CD526F
square
#ACCD52 #52CDB1 #7352CD #CD526F
split-complementary
#ACCD52 #526FCD #B152CD
monochromatic
#678025 #8EAF33 #ACCD52 #C3DB81 #DAE8B1

Accessibility & contrast

On white

1.81
#ACCD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#ACCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCD52
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCD52#FFFFFF#000000##000000
##ACCD521.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#B4C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #accd52;
/* rgb */ color: rgb(172, 205, 82);
/* oklch */ color: oklch(80.0% 0.154 122.6);
Tailwind
colors: {
  custom: {
    50: '#c7dc87',
    500: '#accd52',
    950: '#000000',
  },
}
SCSS
$custom: #accd52;
$custom-light: #c7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#accd52",
  "rgb": {
    "r": 172,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 76.098,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79955,
    "c": 0.15389,
    "h": 122.6
  },
  "luminance": 0.53042
}

Semantic roles & 50–950 ramp

primary
#ACCD52
secondary
#503C87
accent
#49DE71
background
#FEFEFC
surface
#FAFCF3
border
#D3D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #ACCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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