#AF9954#AF9954
#AF9954 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.8% C 0.093 H 92.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9954 |
|---|---|
| RGB | rgb(175, 153, 84) |
| HSL | hsl(45, 36%, 51%) |
| HSV | hsv(45, 52%, 69%) |
| CMYK | cmyk(0%, 12.6%, 52%, 31.4%) |
| CIE-LAB | lab(63.78, -0.95, 38.95) |
| CIE-LCH | lch(63.78, 38.96, 91.39°) |
| OKLab | oklab(68.75% -0.0035 0.0926) |
| OKLCH | oklch(68.75% 0.093 92.1) |
| XYZ | xyz(30.6718, 32.5379, 13.0506) |
| Luminance | 0.3254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Sand
#A88F59
ΔE00 4.50
Dark Beige
#AC9362
ΔE00 4.91
Sandy Brown
#C4A661
ΔE00 5.06
Dark Khaki
#9B8F55
ΔE00 5.31
Camel (survey)
#C69F59
ΔE00 6.05
Dust
#B2996E
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9954 #546AAF
analogous
#AF6B54 #AF9954 #97AF54
triadic
#AF9954 #54AF99 #9954AF
tetradic
#AF9954 #54AF6B #546AAF #AF5497
square
#AF9954 #54AF6B #546AAF #AF5497
split-complementary
#AF9954 #5497AF #6B54AF
monochromatic
#5D512C #87753F #AF9954 #C3B27E #D6CBA7
Accessibility & contrast
On white
2.80
#AF9954 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#AF9954 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9954
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9954 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9954 | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6974E
Deuteranopia (green-blind)
#AC9D57
Tritanopia (blue-blind)
#BB8F89
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9954; /* rgb */ color: rgb(175, 153, 84); /* oklch */ color: oklch(68.8% 0.093 92.1);
Tailwind
colors: {
custom: {
50: '#c9b686',
500: '#af9954',
950: '#000000',
},
}SCSS
$custom: #af9954; $custom-light: #c9b686; $custom-dark: #000000;
JSON
{
"hex": "#af9954",
"rgb": {
"r": 175,
"g": 153,
"b": 84
},
"hsl": {
"h": 45.495,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.68754,
"c": 0.0927,
"h": 92.1
},
"luminance": 0.32537
}Semantic roles & 50–950 ramp
primary
#AF9954
secondary
#9BA5C4
accent
#77CC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C