#ACC122#ACC122
#ACC122 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.170 H 117.6°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC122 |
|---|---|
| RGB | rgb(172, 193, 34) |
| HSL | hsl(68, 70%, 45%) |
| HSV | hsv(68, 82%, 76%) |
| CMYK | cmyk(10.9%, 0%, 82.4%, 24.3%) |
| CIE-LAB | lab(74.21, -25.81, 69.47) |
| CIE-LCH | lch(74.21, 74.11, 110.38°) |
| OKLab | oklab(76.88% -0.0785 0.1504) |
| OKLCH | oklch(76.88% 0.17 117.6) |
| XYZ | xyz(36.3729, 47.0265, 8.6740) |
| Luminance | 0.4703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.52
Snot
#ACBB0D
ΔE00 2.08
Gross Green
#A0BF16
ΔE00 2.18
Bile
#B5C306
ΔE00 2.44
Baby Puke Green
#B6C406
ΔE00 2.58
Bright Olive
#9CBB04
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC122 #3722C1
analogous
#C18722 #ACC122 #5CC122
triadic
#ACC122 #22ACC1 #C122AC
tetradic
#ACC122 #22C187 #3722C1 #C1225C
square
#ACC122 #22C187 #3722C1 #C1225C
split-complementary
#ACC122 #225CC1 #8722C1
monochromatic
#4F5910 #7E8D19 #ACC122 #C9DE42 #D8E776
Accessibility & contrast
On white
2.02
#ACC122 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#ACC122 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC122
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC122 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB733
Tritanopia (blue-blind)
#B7B6A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #acc122; /* rgb */ color: rgb(172, 193, 34); /* oklch */ color: oklch(76.9% 0.170 117.6);
Tailwind
colors: {
custom: {
50: '#c9d36e',
500: '#acc122',
950: '#000000',
},
}SCSS
$custom: #acc122; $custom-light: #c9d36e; $custom-dark: #000000;
JSON
{
"hex": "#acc122",
"rgb": {
"r": 172,
"g": 193,
"b": 34
},
"hsl": {
"h": 67.925,
"s": 70.044,
"l": 44.51
},
"oklch": {
"l": 0.76884,
"c": 0.16965,
"h": 117.6
},
"luminance": 0.47026
}Semantic roles & 50–950 ramp
primary
#ACC122
secondary
#7D71CE
accent
#3BED52
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B