#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 |
|---|---|
| RGB | rgb(172, 193, 42) |
| HSL | hsl(68, 64%, 46%) |
| HSV | hsv(68, 78%, 76%) |
| CMYK | cmyk(10.9%, 0%, 78.2%, 24.3%) |
| CIE-LAB | lab(74.24, -25.53, 67.34) |
| CIE-LCH | lch(74.24, 72.01, 110.76°) |
| OKLab | oklab(76.92% -0.0771 0.1472) |
| OKLCH | oklch(76.92% 0.166 117.7) |
| XYZ | xyz(36.5020, 47.0782, 9.3541) |
| Luminance | 0.4708 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.43
Gross Green
#A0BF16
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.40
Bile
#B5C306
ΔE00 2.86
Bright Olive
#9CBB04
ΔE00 2.91
Snot Green
#9DC100
ΔE00 2.93
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 |
|---|---|---|---|---|
| ##ACC12A | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.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