#ACC03B#ACC03B

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

Color values

HEX#ACC03B
RGBrgb(172, 192, 59)
HSLhsl(69, 53%, 49%)
HSVhsv(69, 69%, 75%)
CMYKcmyk(10.4%, 0%, 69.3%, 24.7%)
CIE-LABlab(74.05, -24.22, 61.45)
CIE-LCHlch(74.05, 66.05, 111.51°)
OKLaboklab(76.8% -0.0721 0.1376)
OKLCHoklch(76.8% 0.155 117.6)
XYZxyz(36.6531, 46.7861, 11.2366)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC03B #4F3BC0
analogous
#C0923B #ACC03B #69C03B
triadic
#ACC03B #3BACC0 #C03BAC
tetradic
#ACC03B #3BC092 #4F3BC0 #C03B69
square
#ACC03B #3BC092 #4F3BC0 #C03B69
split-complementary
#ACC03B #3B69C0 #923BC0
monochromatic
#58621E #82912D #ACC03B #C1D168 #D4DF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #acc03b;
/* rgb */ color: rgb(172, 192, 59);
/* oklch */ color: oklch(76.8% 0.155 117.6);
Tailwind
colors: {
  custom: {
    50: '#c8d379',
    500: '#acc03b',
    950: '#000000',
  },
}
SCSS
$custom: #acc03b;
$custom-light: #c8d379;
$custom-dark: #000000;
JSON
{
  "hex": "#acc03b",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 69.023,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76801,
    "c": 0.15535,
    "h": 117.6
  },
  "luminance": 0.46786
}

Semantic roles & 50–950 ramp

primary
#ACC03B
secondary
#968CCA
accent
#4BDC61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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