#ACC031#ACC031
#ACC031 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.7% C 0.161 H 117.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC031 |
|---|---|
| RGB | rgb(172, 192, 49) |
| HSL | hsl(68, 59%, 47%) |
| HSV | hsv(68, 74%, 75%) |
| CMYK | cmyk(10.4%, 0%, 74.5%, 24.7%) |
| CIE-LAB | lab(73.99, -24.74, 64.93) |
| CIE-LCH | lch(73.99, 69.48, 110.86°) |
| OKLab | oklab(76.73% -0.0744 0.1433) |
| OKLCH | oklch(76.73% 0.161 117.4) |
| XYZ | xyz(36.4181, 46.6921, 9.9991) |
| Luminance | 0.4669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.63
Gross Green
#A0BF16
ΔE00 2.41
Snot
#ACBB0D
ΔE00 2.62
Sick Green
#9DB92C
ΔE00 2.92
Bright Olive
#9CBB04
ΔE00 3.07
Snot Green
#9DC100
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC031 #4531C0
analogous
#C08D31 #ACC031 #64C031
triadic
#ACC031 #31ACC0 #C031AC
tetradic
#ACC031 #31C08D #4531C0 #C03164
square
#ACC031 #31C08D #4531C0 #C03164
split-complementary
#ACC031 #3164C0 #8D31C0
monochromatic
#555E18 #808F25 #ACC031 #C4D559 #D5E18A
Accessibility & contrast
On white
2.03
#ACC031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#ACC031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC031
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC031 | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB510
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#B7B5A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #acc031; /* rgb */ color: rgb(172, 192, 49); /* oklch */ color: oklch(76.7% 0.161 117.4);
Tailwind
colors: {
custom: {
50: '#c8d274',
500: '#acc031',
950: '#000000',
},
}SCSS
$custom: #acc031; $custom-light: #c8d274; $custom-dark: #000000;
JSON
{
"hex": "#acc031",
"rgb": {
"r": 172,
"g": 192,
"b": 49
},
"hsl": {
"h": 68.392,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.76734,
"c": 0.16145,
"h": 117.4
},
"luminance": 0.46692
}Semantic roles & 50–950 ramp
primary
#ACC031
secondary
#8C82CB
accent
#45E35B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B