#ACC02E#ACC02E

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

Color values

HEX#ACC02E
RGBrgb(172, 192, 46)
HSLhsl(68, 61%, 47%)
HSVhsv(68, 76%, 75%)
CMYKcmyk(10.4%, 0%, 76%, 24.7%)
CIE-LABlab(73.98, -24.88, 65.88)
CIE-LCHlch(73.98, 70.42, 110.69°)
OKLaboklab(76.72% -0.075 0.1448)
OKLCHoklch(76.72% 0.163 117.4)
XYZxyz(36.3569, 46.6676, 9.6767)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC02E #422EC0
analogous
#C08B2E #ACC02E #63C02E
triadic
#ACC02E #2EACC0 #C02EAC
tetradic
#ACC02E #2EC08B #422EC0 #C02E63
square
#ACC02E #2EC08B #422EC0 #C02E63
split-complementary
#ACC02E #2E63C0 #8B2EC0
monochromatic
#545D16 #808F22 #ACC02E #C5D655 #D6E286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC02E#FFFFFF#000000##000000
##ACC02E1.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)
#CDB506
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#B7B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc02e;
/* rgb */ color: rgb(172, 192, 46);
/* oklch */ color: oklch(76.7% 0.163 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d273',
    500: '#acc02e',
    950: '#000000',
  },
}
SCSS
$custom: #acc02e;
$custom-light: #c8d273;
$custom-dark: #000000;
JSON
{
  "hex": "#acc02e",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 68.219,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76716,
    "c": 0.16307,
    "h": 117.4
  },
  "luminance": 0.46667
}

Semantic roles & 50–950 ramp

primary
#ACC02E
secondary
#897ECC
accent
#43E459
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC02E

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

Preview Lab → · Contrast checker → · Palette generator →

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