#ACC12C#ACC12C

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

Color values

HEX#ACC12C
RGBrgb(172, 193, 44)
HSLhsl(68, 63%, 46%)
HSVhsv(68, 77%, 76%)
CMYKcmyk(10.9%, 0%, 77.2%, 24.3%)
CIE-LABlab(74.25, -25.45, 66.75)
CIE-LCHlch(74.25, 71.43, 110.87°)
OKLaboklab(76.93% -0.0767 0.1463)
OKLCHoklch(76.93% 0.165 117.7)
XYZxyz(36.5387, 47.0928, 9.5474)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC12C #412CC1
analogous
#C18C2C #ACC12C #62C12C
triadic
#ACC12C #2CACC1 #C12CAC
tetradic
#ACC12C #2CC18C #412CC1 #C12C62
square
#ACC12C #2CC18C #412CC1 #C12C62
split-complementary
#ACC12C #2C62C1 #8C2CC1
monochromatic
#535D15 #808F21 #ACC12C #C5D853 #D6E384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC12C#FFFFFF#000000##000000
##ACC12C1.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)
#CCB73A
Tritanopia (blue-blind)
#B7B6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc12c;
/* rgb */ color: rgb(172, 193, 44);
/* oklch */ color: oklch(76.9% 0.165 117.7);
Tailwind
colors: {
  custom: {
    50: '#c8d372',
    500: '#acc12c',
    950: '#000000',
  },
}
SCSS
$custom: #acc12c;
$custom-light: #c8d372;
$custom-dark: #000000;
JSON
{
  "hex": "#acc12c",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 68.456,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76932,
    "c": 0.1652,
    "h": 117.7
  },
  "luminance": 0.47092
}

Semantic roles & 50–950 ramp

primary
#ACC12C
secondary
#887DCC
accent
#42E659
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC12C

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

Preview Lab → · Contrast checker → · Palette generator →

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