#AF9C27#AF9C27
#AF9C27 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.9% C 0.131 H 99.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9C27 |
|---|---|
| RGB | rgb(175, 156, 39) |
| HSL | hsl(52, 64%, 42%) |
| HSV | hsv(52, 78%, 69%) |
| CMYK | cmyk(0%, 10.9%, 77.7%, 31.4%) |
| CIE-LAB | lab(64.19, -5.47, 59.23) |
| CIE-LCH | lch(64.19, 59.48, 95.28°) |
| OKLab | oklab(68.95% -0.0217 0.1292) |
| OKLCH | oklch(68.95% 0.131 99.5) |
| XYZ | xyz(29.9354, 33.0389, 6.7194) |
| Luminance | 0.3304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.03
Baby Poo
#AB9004
ΔE00 4.28
Baby Shit Brown
#AD900D
ΔE00 4.47
Dark Gold
#B59410
ΔE00 4.53
Ocher
#BF9B0C
ΔE00 5.10
Yellow Brown
#B79400
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9C27 #273AAF
analogous
#AF5827 #AF9C27 #7EAF27
triadic
#AF9C27 #27AF9C #9C27AF
tetradic
#AF9C27 #27AF58 #273AAF #AF277E
square
#AF9C27 #27AF58 #273AAF #AF277E
split-complementary
#AF9C27 #277EAF #5827AF
monochromatic
#4B4311 #7D6F1C #AF9C27 #D4BF3F #DFD071
Accessibility & contrast
On white
2.76
#AF9C27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#AF9C27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9C27
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9C27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9C27 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#BD9086
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #af9c27; /* rgb */ color: rgb(175, 156, 39); /* oklch */ color: oklch(68.9% 0.131 99.5);
Tailwind
colors: {
custom: {
50: '#cbb86b',
500: '#af9c27',
950: '#000000',
},
}SCSS
$custom: #af9c27; $custom-light: #cbb86b; $custom-dark: #000000;
JSON
{
"hex": "#af9c27",
"rgb": {
"r": 175,
"g": 156,
"b": 39
},
"hsl": {
"h": 51.618,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.68947,
"c": 0.13103,
"h": 99.5
},
"luminance": 0.33037
}Semantic roles & 50–950 ramp
primary
#AF9C27
secondary
#6B78C6
accent
#58E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A