#AF9629#AF9629
#AF9629 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.126 H 95.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9629 |
|---|---|
| RGB | rgb(175, 150, 41) |
| HSL | hsl(49, 62%, 42%) |
| HSV | hsv(49, 77%, 69%) |
| CMYK | cmyk(0%, 14.3%, 76.6%, 31.4%) |
| CIE-LAB | lab(62.58, -2.16, 57.04) |
| CIE-LCH | lch(62.58, 57.08, 92.17°) |
| OKLab | oklab(67.68% -0.0121 0.125) |
| OKLCH | oklch(67.68% 0.126 95.5) |
| XYZ | xyz(28.9873, 31.0884, 6.5712) |
| Luminance | 0.3109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.44
Baby Shit Brown
#AD900D
ΔE00 2.53
Baby Poo
#AB9004
ΔE00 2.68
Dark Gold
#B59410
ΔE00 2.77
Yellow Brown
#B79400
ΔE00 3.54
Ocher
#BF9B0C
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9629 #2942AF
analogous
#AF5329 #AF9629 #85AF29
triadic
#AF9629 #29AF96 #9629AF
tetradic
#AF9629 #29AF53 #2942AF #AF2985
square
#AF9629 #29AF53 #2942AF #AF2985
split-complementary
#AF9629 #2985AF #5329AF
monochromatic
#4C4112 #7D6C1D #AF9629 #D3B842 #DECB74
Accessibility & contrast
On white
2.91
#AF9629 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#AF9629 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9629
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9629 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9629 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#AC9B30
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af9629; /* rgb */ color: rgb(175, 150, 41); /* oklch */ color: oklch(67.7% 0.126 95.5);
Tailwind
colors: {
custom: {
50: '#cbb46b',
500: '#af9629',
950: '#000000',
},
}SCSS
$custom: #af9629; $custom-light: #cbb46b; $custom-dark: #000000;
JSON
{
"hex": "#af9629",
"rgb": {
"r": 175,
"g": 150,
"b": 41
},
"hsl": {
"h": 48.806,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.67675,
"c": 0.12554,
"h": 95.5
},
"luminance": 0.31087
}Semantic roles & 50–950 ramp
primary
#AF9629
secondary
#6E7EC6
accent
#61E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A