#ACCC2B#ACCC2B

#ACCC2B is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.4% C 0.178 H 120.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#ACCC2B
RGBrgb(172, 204, 43)
HSLhsl(72, 65%, 48%)
HSVhsv(72, 79%, 80%)
CMYKcmyk(15.7%, 0%, 78.9%, 20%)
CIE-LABlab(77.36, -30.73, 69.86)
CIE-LCHlch(77.36, 76.32, 113.74°)
OKLaboklab(79.44% -0.0913 0.1527)
OKLCHoklch(79.44% 0.178 120.9)
XYZxyz(39.0429, 52.1309, 10.2905)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCC2B #4B2BCC
analogous
#CC9B2B #ACCC2B #5CCC2B
triadic
#ACCC2B #2BACCC #CC2BAC
tetradic
#ACCC2B #2BCC9B #4B2BCC #CC2B5C
square
#ACCC2B #2BCC9B #4B2BCC #CC2B5C
split-complementary
#ACCC2B #2B5CCC #9B2BCC
monochromatic
#576716 #819920 #ACCC2B #C2DC58 #D4E78B

Accessibility & contrast

On white

1.84
#ACCC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#ACCC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCC2B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCC2B#FFFFFF#000000##000000
##ACCC2B1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#D5BF3C
Tritanopia (blue-blind)
#B6C1AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #accc2b;
/* rgb */ color: rgb(172, 204, 43);
/* oklch */ color: oklch(79.4% 0.178 120.9);
Tailwind
colors: {
  custom: {
    50: '#c9db73',
    500: '#accc2b',
    950: '#000000',
  },
}
SCSS
$custom: #accc2b;
$custom-light: #c9db73;
$custom-dark: #000000;
JSON
{
  "hex": "#accc2b",
  "rgb": {
    "r": 172,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 71.925,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79436,
    "c": 0.17795,
    "h": 120.9
  },
  "luminance": 0.52131
}

Semantic roles & 50–950 ramp

primary
#ACCC2B
secondary
#382A71
accent
#40E861
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #ACCC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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