#ACC22F#ACC22F

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

Color values

HEX#ACC22F
RGBrgb(172, 194, 47)
HSLhsl(69, 61%, 47%)
HSVhsv(69, 76%, 76%)
CMYKcmyk(11.3%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.55, -25.80, 66.09)
CIE-LCHlch(74.55, 70.95, 111.32°)
OKLaboklab(77.18% -0.0775 0.1454)
OKLCHoklch(77.18% 0.165 118.1)
XYZxyz(36.8190, 47.5598, 9.9291)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC22F #452FC2
analogous
#C28F2F #ACC22F #62C22F
triadic
#ACC22F #2FACC2 #C22FAC
tetradic
#ACC22F #2FC28F #452FC2 #C22F62
square
#ACC22F #2FC28F #452FC2 #C22F62
split-complementary
#ACC22F #2F62C2 #8F2FC2
monochromatic
#555F17 #809123 #ACC22F #C4D658 #D5E289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC22F#FFFFFF#000000##000000
##ACC22F1.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)
#CFB708
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#B7B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc22f;
/* rgb */ color: rgb(172, 194, 47);
/* oklch */ color: oklch(77.2% 0.165 118.1);
Tailwind
colors: {
  custom: {
    50: '#c8d473',
    500: '#acc22f',
    950: '#000000',
  },
}
SCSS
$custom: #acc22f;
$custom-light: #c8d473;
$custom-dark: #000000;
JSON
{
  "hex": "#acc22f",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 68.98,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77176,
    "c": 0.16477,
    "h": 118.1
  },
  "luminance": 0.47559
}

Semantic roles & 50–950 ramp

primary
#ACC22F
secondary
#8C81CC
accent
#44E45C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC22F

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

Preview Lab → · Contrast checker → · Palette generator →

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