#ACC03C#ACC03C

#ACC03C is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.8% C 0.155 H 117.7°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#ACC03C
RGBrgb(172, 192, 60)
HSLhsl(69, 52%, 49%)
HSVhsv(69, 69%, 75%)
CMYKcmyk(10.4%, 0%, 68.7%, 24.7%)
CIE-LABlab(74.06, -24.16, 61.08)
CIE-LCHlch(74.06, 65.69, 111.58°)
OKLaboklab(76.81% -0.0718 0.137)
OKLCHoklch(76.81% 0.155 117.7)
XYZxyz(36.6793, 46.7965, 11.3745)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC03C #503CC0
analogous
#C0923C #ACC03C #6AC03C
triadic
#ACC03C #3CACC0 #C03CAC
tetradic
#ACC03C #3CC092 #503CC0 #C03C6A
square
#ACC03C #3CC092 #503CC0 #C03C6A
split-complementary
#ACC03C #3C6AC0 #923CC0
monochromatic
#58631F #82912D #ACC03C #C1D069 #D4DF98

Accessibility & contrast

On white

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

On black

10.36
#ACC03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC03C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC03C#FFFFFF#000000##000000
##ACC03C1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB627
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#B6B6A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc03c;
/* rgb */ color: rgb(172, 192, 60);
/* oklch */ color: oklch(76.8% 0.155 117.7);
Tailwind
colors: {
  custom: {
    50: '#c8d37a',
    500: '#acc03c',
    950: '#000000',
  },
}
SCSS
$custom: #acc03c;
$custom-light: #c8d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#acc03c",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 69.091,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76809,
    "c": 0.15468,
    "h": 117.7
  },
  "luminance": 0.46796
}

Semantic roles & 50–950 ramp

primary
#ACC03C
secondary
#978DCA
accent
#4CDC62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC03C

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

Preview Lab → · Contrast checker → · Palette generator →

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