#ACB940#ACB940
#ACB940 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.144 H 115.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #ACB940 |
|---|---|
| RGB | rgb(172, 185, 64) |
| HSL | hsl(66, 49%, 49%) |
| HSV | hsv(66, 65%, 73%) |
| CMYK | cmyk(7%, 0%, 65.4%, 27.5%) |
| CIE-LAB | lab(72.12, -20.47, 57.52) |
| CIE-LCH | lch(72.12, 61.06, 109.59°) |
| OKLab | oklab(75.26% -0.0611 0.1301) |
| OKLCH | oklch(75.26% 0.144 115.2) |
| XYZ | xyz(35.2885, 43.8393, 11.4524) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.34
Booger
#9BB53C
ΔE00 3.46
Snot
#ACBB0D
ΔE00 3.74
Pea
#A4BF20
ΔE00 3.75
Mustard Green
#A8B504
ΔE00 3.88
Gross Green
#A0BF16
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACB940 #4D40B9
analogous
#B98A40 #ACB940 #70B940
triadic
#ACB940 #40ACB9 #B940AC
tetradic
#ACB940 #40B98A #4D40B9 #B94070
square
#ACB940 #40B98A #4D40B9 #B94070
split-complementary
#ACB940 #4070B9 #8A40B9
monochromatic
#575E21 #828C30 #ACB940 #C1CC6B #D4DB98
Accessibility & contrast
On white
2.15
#ACB940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#ACB940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACB940
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACB940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACB940 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#B7AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #acb940; /* rgb */ color: rgb(172, 185, 64); /* oklch */ color: oklch(75.3% 0.144 115.2);
Tailwind
colors: {
custom: {
50: '#c8cd7b',
500: '#acb940',
950: '#000000',
},
}SCSS
$custom: #acb940; $custom-light: #c8cd7b; $custom-dark: #000000;
JSON
{
"hex": "#acb940",
"rgb": {
"r": 172,
"g": 185,
"b": 64
},
"hsl": {
"h": 66.446,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.75262,
"c": 0.14378,
"h": 115.2
},
"luminance": 0.43839
}Semantic roles & 50–950 ramp
primary
#ACB940
secondary
#948EC7
accent
#50D85E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13130A
muted
#82827C