#ACCC51#ACCC51

#ACCC51 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.7% C 0.153 H 122.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#ACCC51
RGBrgb(172, 204, 81)
HSLhsl(76, 55%, 56%)
HSVhsv(76, 60%, 80%)
CMYKcmyk(15.7%, 0%, 60.3%, 20%)
CIE-LABlab(77.61, -28.51, 56.26)
CIE-LCHlch(77.61, 63.07, 116.87°)
OKLaboklab(79.72% -0.0819 0.1298)
OKLCHoklch(79.72% 0.153 122.3)
XYZxyz(40.0917, 52.5504, 15.8141)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCC51 #7151CC
analogous
#CCAF51 #ACCC51 #6ECC51
triadic
#ACCC51 #51ACCC #CC51AC
tetradic
#ACCC51 #51CCAF #7151CC #CC516E
square
#ACCC51 #51CCAF #7151CC #CC516E
split-complementary
#ACCC51 #516ECC #AF51CC
monochromatic
#677E25 #8DAD33 #ACCC51 #C3DA80 #D9E8B0

Accessibility & contrast

On white

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

On black

11.51
#ACCC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCC51
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCC51#FFFFFF#000000##000000
##ACCC511.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#B4C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #accc51;
/* rgb */ color: rgb(172, 204, 81);
/* oklch */ color: oklch(79.7% 0.153 122.3);
Tailwind
colors: {
  custom: {
    50: '#c7db87',
    500: '#accc51',
    950: '#000000',
  },
}
SCSS
$custom: #accc51;
$custom-light: #c7db87;
$custom-dark: #000000;
JSON
{
  "hex": "#accc51",
  "rgb": {
    "r": 172,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 75.61,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79717,
    "c": 0.15344,
    "h": 122.3
  },
  "luminance": 0.5255
}

Semantic roles & 50–950 ramp

primary
#ACCC51
secondary
#4F3C86
accent
#4ADE70
background
#FEFEFC
surface
#FAFBF3
border
#D3D4CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #ACCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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