#ACC12E#ACC12E

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

Color values

HEX#ACC12E
RGBrgb(172, 193, 46)
HSLhsl(69, 62%, 47%)
HSVhsv(69, 76%, 76%)
CMYKcmyk(10.9%, 0%, 76.2%, 24.3%)
CIE-LABlab(74.26, -25.36, 66.14)
CIE-LCHlch(74.26, 70.84, 110.98°)
OKLaboklab(76.94% -0.0764 0.1453)
OKLCHoklch(76.94% 0.164 117.7)
XYZxyz(36.5772, 47.1082, 9.7501)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC12E #432EC1
analogous
#C18C2E #ACC12E #63C12E
triadic
#ACC12E #2EACC1 #C12EAC
tetradic
#ACC12E #2EC18C #432EC1 #C12E63
square
#ACC12E #2EC18C #432EC1 #C12E63
split-complementary
#ACC12E #2E63C1 #8C2EC1
monochromatic
#545E16 #809022 #ACC12E #C4D756 #D5E287

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC12E#FFFFFF#000000##000000
##ACC12E1.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)
#CEB605
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#B7B6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc12e;
/* rgb */ color: rgb(172, 193, 46);
/* oklch */ color: oklch(76.9% 0.164 117.7);
Tailwind
colors: {
  custom: {
    50: '#c8d373',
    500: '#acc12e',
    950: '#000000',
  },
}
SCSS
$custom: #acc12e;
$custom-light: #c8d373;
$custom-dark: #000000;
JSON
{
  "hex": "#acc12e",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 68.571,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.16418,
    "h": 117.7
  },
  "luminance": 0.47108
}

Semantic roles & 50–950 ramp

primary
#ACC12E
secondary
#8A7FCC
accent
#43E55A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC12E

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

Preview Lab → · Contrast checker → · Palette generator →

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