#AC9830#AC9830
#AC9830 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.122 H 98.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AC9830 |
|---|---|
| RGB | rgb(172, 152, 48) |
| HSL | hsl(50, 56%, 43%) |
| HSV | hsv(50, 72%, 67%) |
| CMYK | cmyk(0%, 11.6%, 72.1%, 32.5%) |
| CIE-LAB | lab(62.88, -4.26, 54.57) |
| CIE-LCH | lch(62.88, 54.73, 94.46°) |
| OKLab | oklab(67.86% -0.0171 0.1212) |
| OKLCH | oklch(67.86% 0.122 98) |
| XYZ | xyz(28.7764, 31.4420, 7.3489) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.50
Baby Poo
#AB9004
ΔE00 3.84
Baby Shit Brown
#AD900D
ΔE00 3.91
Dark Gold
#B59410
ΔE00 4.34
Yellow Brown
#B79400
ΔE00 5.08
Ocher
#BF9B0C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC9830 #3044AC
analogous
#AC5A30 #AC9830 #82AC30
triadic
#AC9830 #30AC98 #9830AC
tetradic
#AC9830 #30AC5A #3044AC #AC3082
square
#AC9830 #30AC5A #3044AC #AC3082
split-complementary
#AC9830 #3082AC #5A30AC
monochromatic
#4C4315 #7C6E23 #AC9830 #CDB84C #DACB7C
Accessibility & contrast
On white
2.88
#AC9830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#AC9830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC9830
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC9830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC9830 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#BA8C83
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ac9830; /* rgb */ color: rgb(172, 152, 48); /* oklch */ color: oklch(67.9% 0.122 98.0);
Tailwind
colors: {
custom: {
50: '#c8b66f',
500: '#ac9830',
950: '#000000',
},
}SCSS
$custom: #ac9830; $custom-light: #c8b66f; $custom-dark: #000000;
JSON
{
"hex": "#ac9830",
"rgb": {
"r": 172,
"g": 152,
"b": 48
},
"hsl": {
"h": 50.323,
"s": 56.364,
"l": 43.137
},
"oklch": {
"l": 0.67857,
"c": 0.12242,
"h": 98
},
"luminance": 0.31441
}Semantic roles & 50–950 ramp
primary
#AC9830
secondary
#7581C3
accent
#61E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B