#AF9956#AF9956
#AF9956 is a light, moderate yellow. Relative luminance 0.326; OKLCH L 68.8% C 0.091 H 91.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9956 |
|---|---|
| RGB | rgb(175, 153, 86) |
| HSL | hsl(45, 36%, 51%) |
| HSV | hsv(45, 51%, 69%) |
| CMYK | cmyk(0%, 12.6%, 50.9%, 31.4%) |
| CIE-LAB | lab(63.81, -0.76, 37.95) |
| CIE-LCH | lch(63.81, 37.96, 91.15°) |
| OKLab | oklab(68.78% -0.0027 0.0906) |
| OKLCH | oklch(68.78% 0.091 91.7) |
| XYZ | xyz(30.7512, 32.5697, 13.4691) |
| Luminance | 0.3257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Sand
#A88F59
ΔE00 4.24
Dark Beige
#AC9362
ΔE00 4.57
Sandy Brown
#C4A661
ΔE00 5.01
Dark Khaki
#9B8F55
ΔE00 5.22
Dust
#B2996E
ΔE00 5.95
Camel (survey)
#C69F59
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9956 #566CAF
analogous
#AF6C56 #AF9956 #98AF56
triadic
#AF9956 #56AF99 #9956AF
tetradic
#AF9956 #56AF6C #566CAF #AF5698
square
#AF9956 #56AF6C #566CAF #AF5698
split-complementary
#AF9956 #5698AF #6C56AF
monochromatic
#5E522D #887640 #AF9956 #C3B280 #D6CBA9
Accessibility & contrast
On white
2.79
#AF9956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#AF9956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9956
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9956 | 1.00 | 2.79 | 7.51 | 7.51 |
| #FFFFFF | 2.79 | 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)
#A69750
Deuteranopia (green-blind)
#AC9D59
Tritanopia (blue-blind)
#BB8F89
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9956; /* rgb */ color: rgb(175, 153, 86); /* oklch */ color: oklch(68.8% 0.091 91.7);
Tailwind
colors: {
custom: {
50: '#c9b687',
500: '#af9956',
950: '#000000',
},
}SCSS
$custom: #af9956; $custom-light: #c9b687; $custom-dark: #000000;
JSON
{
"hex": "#af9956",
"rgb": {
"r": 175,
"g": 153,
"b": 86
},
"hsl": {
"h": 45.169,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.68783,
"c": 0.09065,
"h": 91.7
},
"luminance": 0.32568
}Semantic roles & 50–950 ramp
primary
#AF9956
secondary
#9DA6C4
accent
#78CC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C