#AF9941#AF9941
#AF9941 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.5% C 0.111 H 95.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9941 |
|---|---|
| RGB | rgb(175, 153, 65) |
| HSL | hsl(48, 46%, 47%) |
| HSV | hsv(48, 63%, 69%) |
| CMYK | cmyk(0%, 12.6%, 62.9%, 31.4%) |
| CIE-LAB | lab(63.57, -2.46, 48.03) |
| CIE-LCH | lch(63.57, 48.09, 92.93°) |
| OKLab | oklab(68.52% -0.0101 0.1101) |
| OKLCH | oklch(68.52% 0.111 95.3) |
| XYZ | xyz(30.0259, 32.2795, 9.6490) |
| Luminance | 0.3228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.12
Baby Shit Brown
#AD900D
ΔE00 5.15
Dark Gold
#B59410
ΔE00 5.22
Baby Poo
#AB9004
ΔE00 5.35
Yellow Brown
#B79400
ΔE00 5.96
Ocher
#BF9B0C
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9941 #4157AF
analogous
#AF6241 #AF9941 #8EAF41
triadic
#AF9941 #41AF99 #9941AF
tetradic
#AF9941 #41AF62 #4157AF #AF418E
square
#AF9941 #41AF62 #4157AF #AF418E
split-complementary
#AF9941 #418EAF #6241AF
monochromatic
#564B20 #827230 #AF9941 #C6B367 #D7C993
Accessibility & contrast
On white
2.82
#AF9941 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#AF9941 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9941
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9941 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9941 | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89637
Deuteranopia (green-blind)
#AD9D45
Tritanopia (blue-blind)
#BC8E86
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9941; /* rgb */ color: rgb(175, 153, 65); /* oklch */ color: oklch(68.5% 0.111 95.3);
Tailwind
colors: {
custom: {
50: '#cab679',
500: '#af9941',
950: '#000000',
},
}SCSS
$custom: #af9941; $custom-light: #cab679; $custom-dark: #000000;
JSON
{
"hex": "#af9941",
"rgb": {
"r": 175,
"g": 153,
"b": 65
},
"hsl": {
"h": 48,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.68518,
"c": 0.11057,
"h": 95.3
},
"luminance": 0.32278
}Semantic roles & 50–950 ramp
primary
#AF9941
secondary
#8995C2
accent
#6DD552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B