#AF9620#AF9620
#AF9620 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.130 H 96.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9620 |
|---|---|
| RGB | rgb(175, 150, 32) |
| HSL | hsl(50, 69%, 41%) |
| HSV | hsv(50, 82%, 69%) |
| CMYK | cmyk(0%, 14.3%, 81.7%, 31.4%) |
| CIE-LAB | lab(62.54, -2.50, 60.00) |
| CIE-LCH | lch(62.54, 60.05, 92.38°) |
| OKLab | oklab(67.62% -0.0139 0.1295) |
| OKLCH | oklch(67.62% 0.13 96.1) |
| XYZ | xyz(28.8479, 31.0326, 5.8366) |
| Luminance | 0.3103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 1.67
Baby Shit Brown
#AD900D
ΔE00 2.18
Baby Poo
#AB9004
ΔE00 2.19
Dark Gold
#B59410
ΔE00 2.44
Yellow Brown
#B79400
ΔE00 3.15
Ocher
#BF9B0C
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9620 #2039AF
analogous
#AF4E20 #AF9620 #81AF20
triadic
#AF9620 #20AF96 #9620AF
tetradic
#AF9620 #20AF4E #2039AF #AF2081
square
#AF9620 #20AF4E #2039AF #AF2081
split-complementary
#AF9620 #2081AF #4E20AF
monochromatic
#483D0D #7B6A17 #AF9620 #DABC33 #E3CD66
Accessibility & contrast
On white
2.91
#AF9620 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#AF9620 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9620
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9620 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9620 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#BE8A80
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af9620; /* rgb */ color: rgb(175, 150, 32); /* oklch */ color: oklch(67.6% 0.130 96.1);
Tailwind
colors: {
custom: {
50: '#cbb467',
500: '#af9620',
950: '#000000',
},
}SCSS
$custom: #af9620; $custom-light: #cbb467; $custom-dark: #000000;
JSON
{
"hex": "#af9620",
"rgb": {
"r": 175,
"g": 150,
"b": 32
},
"hsl": {
"h": 49.51,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.67623,
"c": 0.13019,
"h": 96.1
},
"luminance": 0.31031
}Semantic roles & 50–950 ramp
primary
#AF9620
secondary
#6274C8
accent
#5BEC3C
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A