#ACC22C#ACC22C

#ACC22C is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.166 H 118.0°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#ACC22C
RGBrgb(172, 194, 44)
HSLhsl(69, 63%, 47%)
HSVhsv(69, 77%, 76%)
CMYKcmyk(11.3%, 0%, 77.3%, 23.9%)
CIE-LABlab(74.53, -25.93, 67.01)
CIE-LCHlch(74.53, 71.85, 111.15°)
OKLaboklab(77.16% -0.0781 0.1468)
OKLCHoklch(77.16% 0.166 118)
XYZxyz(36.7605, 47.5364, 9.6213)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC22C #422CC2
analogous
#C28D2C #ACC22C #61C22C
triadic
#ACC22C #2CACC2 #C22CAC
tetradic
#ACC22C #2CC28D #422CC2 #C22C61
square
#ACC22C #2CC28D #422CC2 #C22C61
split-complementary
#ACC22C #2C61C2 #8D2CC2
monochromatic
#545E15 #809021 #ACC22C #C5D853 #D6E385

Accessibility & contrast

On white

2.00
#ACC22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#ACC22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC22C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC22C#FFFFFF#000000##000000
##ACC22C1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CDB83A
Tritanopia (blue-blind)
#B7B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc22c;
/* rgb */ color: rgb(172, 194, 44);
/* oklch */ color: oklch(77.2% 0.166 118.0);
Tailwind
colors: {
  custom: {
    50: '#c8d472',
    500: '#acc22c',
    950: '#000000',
  },
}
SCSS
$custom: #acc22c;
$custom-light: #c8d472;
$custom-dark: #000000;
JSON
{
  "hex": "#acc22c",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 44
  },
  "hsl": {
    "h": 68.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77159,
    "c": 0.16631,
    "h": 118
  },
  "luminance": 0.47536
}

Semantic roles & 50–950 ramp

primary
#ACC22C
secondary
#897DCD
accent
#42E65A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC22C

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

Preview Lab → · Contrast checker → · Palette generator →

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