#ACC231#ACC231
#ACC231 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.2% C 0.164 H 118.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC231 |
|---|---|
| RGB | rgb(172, 194, 49) |
| HSL | hsl(69, 60%, 48%) |
| HSV | hsv(69, 75%, 76%) |
| CMYK | cmyk(11.3%, 0%, 74.7%, 23.9%) |
| CIE-LAB | lab(74.56, -25.71, 65.46) |
| CIE-LCH | lch(74.56, 70.33, 111.44°) |
| OKLab | oklab(77.19% -0.0771 0.1444) |
| OKLCH | oklch(77.19% 0.164 118.1) |
| XYZ | xyz(36.8603, 47.5763, 10.1465) |
| Luminance | 0.4758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.56
Gross Green
#A0BF16
ΔE00 2.27
Snot
#ACBB0D
ΔE00 3.00
Snot Green
#9DC100
ΔE00 3.01
Sick Green
#9DB92C
ΔE00 3.09
Bright Olive
#9CBB04
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC231 #4731C2
analogous
#C28F31 #ACC231 #64C231
triadic
#ACC231 #31ACC2 #C231AC
tetradic
#ACC231 #31C28F #4731C2 #C23164
square
#ACC231 #31C28F #4731C2 #C23164
split-complementary
#ACC231 #3164C2 #8F31C2
monochromatic
#556018 #819125 #ACC231 #C3D65B #D5E28C
Accessibility & contrast
On white
2.00
#ACC231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#ACC231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC231
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC231 | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#B7B7A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #acc231; /* rgb */ color: rgb(172, 194, 49); /* oklch */ color: oklch(77.2% 0.164 118.1);
Tailwind
colors: {
custom: {
50: '#c8d474',
500: '#acc231',
950: '#000000',
},
}SCSS
$custom: #acc231; $custom-light: #c8d474; $custom-dark: #000000;
JSON
{
"hex": "#acc231",
"rgb": {
"r": 172,
"g": 194,
"b": 49
},
"hsl": {
"h": 69.103,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.77188,
"c": 0.16369,
"h": 118.1
},
"luminance": 0.47576
}Semantic roles & 50–950 ramp
primary
#ACC231
secondary
#8E83CC
accent
#45E35D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B