#ACC02C#ACC02C

#ACC02C is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.7% C 0.164 H 117.4°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#ACC02C
RGBrgb(172, 192, 44)
HSLhsl(68, 63%, 46%)
HSVhsv(68, 77%, 75%)
CMYKcmyk(10.4%, 0%, 77.1%, 24.7%)
CIE-LABlab(73.97, -24.96, 66.49)
CIE-LCHlch(73.97, 71.02, 110.58°)
OKLaboklab(76.71% -0.0754 0.1457)
OKLCHoklch(76.71% 0.164 117.4)
XYZxyz(36.3184, 46.6522, 9.4739)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC02C #402CC0
analogous
#C08A2C #ACC02C #62C02C
triadic
#ACC02C #2CACC0 #C02CAC
tetradic
#ACC02C #2CC08A #402CC0 #C02C62
square
#ACC02C #2CC08A #402CC0 #C02C62
split-complementary
#ACC02C #2C62C0 #8A2CC0
monochromatic
#535C15 #7F8E21 #ACC02C #C5D752 #D6E384

Accessibility & contrast

On white

2.03
#ACC02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#ACC02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC02C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC02C#FFFFFF#000000##000000
##ACC02C1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CBB73A
Tritanopia (blue-blind)
#B7B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc02c;
/* rgb */ color: rgb(172, 192, 44);
/* oklch */ color: oklch(76.7% 0.164 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d272',
    500: '#acc02c',
    950: '#000000',
  },
}
SCSS
$custom: #acc02c;
$custom-light: #c8d272;
$custom-dark: #000000;
JSON
{
  "hex": "#acc02c",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 68.108,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76705,
    "c": 0.16409,
    "h": 117.4
  },
  "luminance": 0.46652
}

Semantic roles & 50–950 ramp

primary
#ACC02C
secondary
#877CCC
accent
#42E658
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC02C

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

Preview Lab → · Contrast checker → · Palette generator →

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