#ACC120#ACC120
#ACC120 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.170 H 117.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC120 |
|---|---|
| RGB | rgb(172, 193, 32) |
| HSL | hsl(68, 72%, 44%) |
| HSV | hsv(68, 83%, 76%) |
| CMYK | cmyk(10.9%, 0%, 83.4%, 24.3%) |
| CIE-LAB | lab(74.20, -25.88, 69.95) |
| CIE-LCH | lch(74.20, 74.58, 110.30°) |
| OKLab | oklab(76.88% -0.0788 0.1511) |
| OKLCH | oklch(76.88% 0.17 117.5) |
| XYZ | xyz(36.3449, 47.0153, 8.5264) |
| Luminance | 0.4702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.56
Snot
#ACBB0D
ΔE00 2.02
Gross Green
#A0BF16
ΔE00 2.20
Bile
#B5C306
ΔE00 2.35
Baby Puke Green
#B6C406
ΔE00 2.50
Bright Olive
#9CBB04
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC120 #3520C1
analogous
#C18620 #ACC120 #5CC120
triadic
#ACC120 #20ACC1 #C120AC
tetradic
#ACC120 #20C186 #3520C1 #C1205C
square
#ACC120 #20C186 #3520C1 #C1205C
split-complementary
#ACC120 #205CC1 #8620C1
monochromatic
#4E580F #7D8D17 #ACC120 #CADF3F #D9E874
Accessibility & contrast
On white
2.02
#ACC120 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#ACC120 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC120
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC120 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC120 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CDB732
Tritanopia (blue-blind)
#B7B6A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #acc120; /* rgb */ color: rgb(172, 193, 32); /* oklch */ color: oklch(76.9% 0.170 117.5);
Tailwind
colors: {
custom: {
50: '#c9d36d',
500: '#acc120',
950: '#000000',
},
}SCSS
$custom: #acc120; $custom-light: #c9d36d; $custom-dark: #000000;
JSON
{
"hex": "#acc120",
"rgb": {
"r": 172,
"g": 193,
"b": 32
},
"hsl": {
"h": 67.826,
"s": 71.556,
"l": 44.118
},
"oklch": {
"l": 0.76876,
"c": 0.17041,
"h": 117.5
},
"luminance": 0.47015
}Semantic roles & 50–950 ramp
primary
#ACC120
secondary
#7B6ECF
accent
#3AEE51
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B