#ACC03A#ACC03A

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

Color values

HEX#ACC03A
RGBrgb(172, 192, 58)
HSLhsl(69, 54%, 49%)
HSVhsv(69, 70%, 75%)
CMYKcmyk(10.4%, 0%, 69.8%, 24.7%)
CIE-LABlab(74.05, -24.28, 61.82)
CIE-LCHlch(74.05, 66.41, 111.44°)
OKLaboklab(76.79% -0.0723 0.1382)
OKLCHoklch(76.79% 0.156 117.6)
XYZxyz(36.6274, 46.7758, 11.1013)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC03A #4E3AC0
analogous
#C0913A #ACC03A #69C03A
triadic
#ACC03A #3AACC0 #C03AAC
tetradic
#ACC03A #3AC091 #4E3AC0 #C03A69
square
#ACC03A #3AC091 #4E3AC0 #C03A69
split-complementary
#ACC03A #3A69C0 #913AC0
monochromatic
#58621E #82912C #ACC03A #C1D166 #D4DF95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC03A#FFFFFF#000000##000000
##ACC03A1.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)
#CDB624
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#B6B5A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc03a;
/* rgb */ color: rgb(172, 192, 58);
/* oklch */ color: oklch(76.8% 0.156 117.6);
Tailwind
colors: {
  custom: {
    50: '#c8d378',
    500: '#acc03a',
    950: '#000000',
  },
}
SCSS
$custom: #acc03a;
$custom-light: #c8d378;
$custom-dark: #000000;
JSON
{
  "hex": "#acc03a",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 68.955,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76794,
    "c": 0.15601,
    "h": 117.6
  },
  "luminance": 0.46775
}

Semantic roles & 50–950 ramp

primary
#ACC03A
secondary
#958BCA
accent
#4BDD61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #ACC03A

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

Preview Lab → · Contrast checker → · Palette generator →

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