#ACC02B#ACC02B

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

Color values

HEX#ACC02B
RGBrgb(172, 192, 43)
HSLhsl(68, 63%, 46%)
HSVhsv(68, 78%, 75%)
CMYKcmyk(10.4%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.96, -25.00, 66.79)
CIE-LCHlch(73.96, 71.31, 110.52°)
OKLaboklab(76.7% -0.0756 0.1462)
OKLCHoklch(76.7% 0.165 117.3)
XYZxyz(36.2999, 46.6448, 9.3761)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC02B #3F2BC0
analogous
#C0892B #ACC02B #61C02B
triadic
#ACC02B #2BACC0 #C02BAC
tetradic
#ACC02B #2BC089 #3F2BC0 #C02B61
square
#ACC02B #2BC089 #3F2BC0 #C02B61
split-complementary
#ACC02B #2B61C0 #892BC0
monochromatic
#525C15 #7F8E20 #ACC02B #C6D850 #D6E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC02B#FFFFFF#000000##000000
##ACC02B1.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)
#CBB739
Tritanopia (blue-blind)
#B7B5A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc02b;
/* rgb */ color: rgb(172, 192, 43);
/* oklch */ color: oklch(76.7% 0.165 117.3);
Tailwind
colors: {
  custom: {
    50: '#c8d271',
    500: '#acc02b',
    950: '#000000',
  },
}
SCSS
$custom: #acc02b;
$custom-light: #c8d271;
$custom-dark: #000000;
JSON
{
  "hex": "#acc02b",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 68.054,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76699,
    "c": 0.16459,
    "h": 117.3
  },
  "luminance": 0.46644
}

Semantic roles & 50–950 ramp

primary
#ACC02B
secondary
#867BCC
accent
#41E658
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ACC02B

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

Preview Lab → · Contrast checker → · Palette generator →

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