#AF9852#AF9852
#AF9852 is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.5% C 0.094 H 91.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9852 |
|---|---|
| RGB | rgb(175, 152, 82) |
| HSL | hsl(45, 37%, 50%) |
| HSV | hsv(45, 53%, 69%) |
| CMYK | cmyk(0%, 13.1%, 53.1%, 31.4%) |
| CIE-LAB | lab(63.49, -0.58, 39.62) |
| CIE-LCH | lch(63.49, 39.63, 90.84°) |
| OKLab | oklab(68.51% -0.0026 0.0939) |
| OKLCH | oklch(68.51% 0.094 91.6) |
| XYZ | xyz(30.4316, 32.1810, 12.5896) |
| Luminance | 0.3218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Sand
#A88F59
ΔE00 4.37
Dark Beige
#AC9362
ΔE00 4.90
Sandy Brown
#C4A661
ΔE00 5.16
Dark Khaki
#9B8F55
ΔE00 5.39
Camel (survey)
#C69F59
ΔE00 5.94
Dust
#B2996E
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9852 #5269AF
analogous
#AF6952 #AF9852 #98AF52
triadic
#AF9852 #52AF98 #9852AF
tetradic
#AF9852 #52AF69 #5269AF #AF5298
square
#AF9852 #52AF69 #5269AF #AF5298
split-complementary
#AF9852 #5298AF #6952AF
monochromatic
#5C502B #86743E #AF9852 #C2B17C #D6CAA6
Accessibility & contrast
On white
2.82
#AF9852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#AF9852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9852
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9852 | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5964C
Deuteranopia (green-blind)
#AB9D55
Tritanopia (blue-blind)
#BB8E88
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9852; /* rgb */ color: rgb(175, 152, 82); /* oklch */ color: oklch(68.5% 0.094 91.6);
Tailwind
colors: {
custom: {
50: '#c9b684',
500: '#af9852',
950: '#000000',
},
}SCSS
$custom: #af9852; $custom-light: #c9b684; $custom-dark: #000000;
JSON
{
"hex": "#af9852",
"rgb": {
"r": 175,
"g": 152,
"b": 82
},
"hsl": {
"h": 45.161,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.68514,
"c": 0.09398,
"h": 91.6
},
"luminance": 0.3218
}Semantic roles & 50–950 ramp
primary
#AF9852
secondary
#9AA4C3
accent
#77CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C