#ACC431#ACC431
#ACC431 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.6% C 0.166 H 118.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC431 |
|---|---|
| RGB | rgb(172, 196, 49) |
| HSL | hsl(70, 60%, 48%) |
| HSV | hsv(70, 75%, 77%) |
| CMYK | cmyk(12.2%, 0%, 75%, 23.1%) |
| CIE-LAB | lab(75.12, -26.67, 65.99) |
| CIE-LCH | lch(75.12, 71.18, 112.01°) |
| OKLab | oklab(77.64% -0.0797 0.1455) |
| OKLCH | oklch(77.64% 0.166 118.7) |
| XYZ | xyz(37.3084, 48.4726, 10.2959) |
| Luminance | 0.4847 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.70
Gross Green
#A0BF16
ΔE00 2.28
Snot Green
#9DC100
ΔE00 2.86
Bright Olive
#9CBB04
ΔE00 3.28
Sick Green
#9DB92C
ΔE00 3.36
Snot
#ACBB0D
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC431 #4931C4
analogous
#C49231 #ACC431 #62C431
triadic
#ACC431 #31ACC4 #C431AC
tetradic
#ACC431 #31C492 #4931C4 #C43162
square
#ACC431 #31C492 #4931C4 #C43162
split-complementary
#ACC431 #3162C4 #9231C4
monochromatic
#566219 #819325 #ACC431 #C2D65C #D5E28D
Accessibility & contrast
On white
1.96
#ACC431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#ACC431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC431
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC431 | 1.00 | 1.96 | 10.69 | 10.69 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B90D
Deuteranopia (green-blind)
#CEBA3E
Tritanopia (blue-blind)
#B6B9A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #acc431; /* rgb */ color: rgb(172, 196, 49); /* oklch */ color: oklch(77.6% 0.166 118.7);
Tailwind
colors: {
custom: {
50: '#c8d574',
500: '#acc431',
950: '#000000',
},
}SCSS
$custom: #acc431; $custom-light: #c8d574; $custom-dark: #000000;
JSON
{
"hex": "#acc431",
"rgb": {
"r": 172,
"g": 196,
"b": 49
},
"hsl": {
"h": 69.796,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.77642,
"c": 0.16594,
"h": 118.7
},
"luminance": 0.48472
}Semantic roles & 50–950 ramp
primary
#ACC431
secondary
#9084CD
accent
#45E35F
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B