#AF9628#AF9628
#AF9628 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.126 H 95.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9628 |
|---|---|
| RGB | rgb(175, 150, 40) |
| HSL | hsl(49, 63%, 42%) |
| HSV | hsv(49, 77%, 69%) |
| CMYK | cmyk(0%, 14.3%, 77.1%, 31.4%) |
| CIE-LAB | lab(62.58, -2.20, 57.39) |
| CIE-LCH | lch(62.58, 57.43, 92.20°) |
| OKLab | oklab(67.67% -0.0123 0.1255) |
| OKLCH | oklch(67.67% 0.126 95.6) |
| XYZ | xyz(28.9701, 31.0815, 6.4805) |
| Luminance | 0.3108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.34
Baby Shit Brown
#AD900D
ΔE00 2.48
Baby Poo
#AB9004
ΔE00 2.61
Dark Gold
#B59410
ΔE00 2.72
Yellow Brown
#B79400
ΔE00 3.48
Ocher
#BF9B0C
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9628 #2841AF
analogous
#AF5328 #AF9628 #85AF28
triadic
#AF9628 #28AF96 #9628AF
tetradic
#AF9628 #28AF53 #2841AF #AF2885
square
#AF9628 #28AF53 #2841AF #AF2885
split-complementary
#AF9628 #2885AF #5328AF
monochromatic
#4B4111 #7D6B1D #AF9628 #D4B841 #DFCB73
Accessibility & contrast
On white
2.91
#AF9628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#AF9628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9628
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9628 | 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)
#A69312
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af9628; /* rgb */ color: rgb(175, 150, 40); /* oklch */ color: oklch(67.7% 0.126 95.6);
Tailwind
colors: {
custom: {
50: '#cbb46b',
500: '#af9628',
950: '#000000',
},
}SCSS
$custom: #af9628; $custom-light: #cbb46b; $custom-dark: #000000;
JSON
{
"hex": "#af9628",
"rgb": {
"r": 175,
"g": 150,
"b": 40
},
"hsl": {
"h": 48.889,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.67669,
"c": 0.12611,
"h": 95.6
},
"luminance": 0.3108
}Semantic roles & 50–950 ramp
primary
#AF9628
secondary
#6D7DC6
accent
#60E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A