#ACC12A#ACC12A

#ACC12A is a light, vivid yellow. Relative luminance 0.471; OKLCH L 76.9% C 0.166 H 117.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#ACC12A
RGBrgb(172, 193, 42)
HSLhsl(68, 64%, 46%)
HSVhsv(68, 78%, 76%)
CMYKcmyk(10.9%, 0%, 78.2%, 24.3%)
CIE-LABlab(74.24, -25.53, 67.34)
CIE-LCHlch(74.24, 72.01, 110.76°)
OKLaboklab(76.92% -0.0771 0.1472)
OKLCHoklch(76.92% 0.166 117.7)
XYZxyz(36.5020, 47.0782, 9.3541)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC12A #3F2AC1
analogous
#C18A2A #ACC12A #61C12A
triadic
#ACC12A #2AACC1 #C12AAC
tetradic
#ACC12A #2AC18A #3F2AC1 #C12A61
square
#ACC12A #2AC18A #3F2AC1 #C12A61
split-complementary
#ACC12A #2A61C1 #8A2AC1
monochromatic
#525C14 #7F8F1F #ACC12A #C6D94F #D6E482

Accessibility & contrast

On white

2.02
#ACC12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#ACC12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC12A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC12A#FFFFFF#000000##000000
##ACC12A1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#B7B6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc12a;
/* rgb */ color: rgb(172, 193, 42);
/* oklch */ color: oklch(76.9% 0.166 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d371',
    500: '#acc12a',
    950: '#000000',
  },
}
SCSS
$custom: #acc12a;
$custom-light: #c9d371;
$custom-dark: #000000;
JSON
{
  "hex": "#acc12a",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 68.344,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76921,
    "c": 0.16617,
    "h": 117.7
  },
  "luminance": 0.47078
}

Semantic roles & 50–950 ramp

primary
#ACC12A
secondary
#867ACD
accent
#41E758
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ACC12A

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

Preview Lab → · Contrast checker → · Palette generator →

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