#ACC336#ACC336
#ACC336 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.4% C 0.162 H 118.5°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC336 |
|---|---|
| RGB | rgb(172, 195, 54) |
| HSL | hsl(70, 57%, 49%) |
| HSV | hsv(70, 72%, 76%) |
| CMYK | cmyk(11.8%, 0%, 72.3%, 23.5%) |
| CIE-LAB | lab(74.87, -25.95, 64.07) |
| CIE-LCH | lch(74.87, 69.12, 112.05°) |
| OKLab | oklab(77.45% -0.0773 0.1423) |
| OKLCH | oklch(77.45% 0.162 118.5) |
| XYZ | xyz(37.1950, 48.0675, 10.8078) |
| Luminance | 0.4807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.83
Gross Green
#A0BF16
ΔE00 2.46
Sick Green
#9DB92C
ΔE00 3.14
Snot Green
#9DC100
ΔE00 3.15
Bright Olive
#9CBB04
ΔE00 3.38
Snot
#ACBB0D
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC336 #4D36C3
analogous
#C39436 #ACC336 #66C336
triadic
#ACC336 #36ACC3 #C336AC
tetradic
#ACC336 #36C394 #4D36C3 #C33666
square
#ACC336 #36C394 #4D36C3 #C33666
split-complementary
#ACC336 #3666C3 #9436C3
monochromatic
#57631B #829329 #ACC336 #C1D463 #D4E192
Accessibility & contrast
On white
1.98
#ACC336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#ACC336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC336
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC336 | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B81B
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#B6B8A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #acc336; /* rgb */ color: rgb(172, 195, 54); /* oklch */ color: oklch(77.4% 0.162 118.5);
Tailwind
colors: {
custom: {
50: '#c8d577',
500: '#acc336',
950: '#000000',
},
}SCSS
$custom: #acc336; $custom-light: #c8d577; $custom-dark: #000000;
JSON
{
"hex": "#acc336",
"rgb": {
"r": 172,
"g": 195,
"b": 54
},
"hsl": {
"h": 69.787,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.77446,
"c": 0.16195,
"h": 118.5
},
"luminance": 0.48067
}Semantic roles & 50–950 ramp
primary
#ACC336
secondary
#9489CC
accent
#48E061
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B