#AF9A2E#AF9A2E
#AF9A2E is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.6% C 0.125 H 97.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9A2E |
|---|---|
| RGB | rgb(175, 154, 46) |
| HSL | hsl(50, 58%, 43%) |
| HSV | hsv(50, 74%, 69%) |
| CMYK | cmyk(0%, 12%, 73.7%, 31.4%) |
| CIE-LAB | lab(63.69, -4.09, 56.24) |
| CIE-LCH | lch(63.69, 56.39, 94.16°) |
| OKLab | oklab(68.56% -0.017 0.1243) |
| OKLCH | oklch(68.56% 0.125 97.8) |
| XYZ | xyz(29.7294, 32.4239, 7.2767) |
| Luminance | 0.3242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.05
Baby Poo
#AB9004
ΔE00 3.90
Baby Shit Brown
#AD900D
ΔE00 3.95
Dark Gold
#B59410
ΔE00 4.05
Yellow Brown
#B79400
ΔE00 4.74
Ocher
#BF9B0C
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9A2E #2E43AF
analogous
#AF5A2E #AF9A2E #83AF2E
triadic
#AF9A2E #2EAF9A #9A2EAF
tetradic
#AF9A2E #2EAF5A #2E43AF #AF2E83
square
#AF9A2E #2EAF5A #2E43AF #AF2E83
split-complementary
#AF9A2E #2E83AF #5A2EAF
monochromatic
#4E4515 #7F6F21 #AF9A2E #D0BA4B #DCCC7B
Accessibility & contrast
On white
2.81
#AF9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#AF9A2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9A2E
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9A2E | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9a2e; /* rgb */ color: rgb(175, 154, 46); /* oklch */ color: oklch(68.6% 0.125 97.8);
Tailwind
colors: {
custom: {
50: '#cbb76e',
500: '#af9a2e',
950: '#000000',
},
}SCSS
$custom: #af9a2e; $custom-light: #cbb76e; $custom-dark: #000000;
JSON
{
"hex": "#af9a2e",
"rgb": {
"r": 175,
"g": 154,
"b": 46
},
"hsl": {
"h": 50.233,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.68563,
"c": 0.12542,
"h": 97.8
},
"luminance": 0.32422
}Semantic roles & 50–950 ramp
primary
#AF9A2E
secondary
#7481C5
accent
#60E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B