#AF9836#AF9836
#AF9836 is a light, moderate yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.118 H 95.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9836 |
|---|---|
| RGB | rgb(175, 152, 54) |
| HSL | hsl(49, 53%, 45%) |
| HSV | hsv(49, 69%, 69%) |
| CMYK | cmyk(0%, 13.1%, 69.1%, 31.4%) |
| CIE-LAB | lab(63.21, -2.60, 52.53) |
| CIE-LCH | lch(63.21, 52.60, 92.84°) |
| OKLab | oklab(68.2% -0.0119 0.1179) |
| OKLCH | oklch(68.2% 0.119 95.8) |
| XYZ | xyz(29.5747, 31.8383, 8.0769) |
| Luminance | 0.3184 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.74
Baby Shit Brown
#AD900D
ΔE00 3.90
Dark Gold
#B59410
ΔE00 4.03
Baby Poo
#AB9004
ΔE00 4.06
Yellow Brown
#B79400
ΔE00 4.79
Ocher
#BF9B0C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9836 #364DAF
analogous
#AF5C36 #AF9836 #8AAF36
triadic
#AF9836 #36AF98 #9836AF
tetradic
#AF9836 #36AF5C #364DAF #AF368A
square
#AF9836 #36AF5C #364DAF #AF368A
split-complementary
#AF9836 #368AAF #5C36AF
monochromatic
#514719 #806F28 #AF9836 #CBB557 #DACA86
Accessibility & contrast
On white
2.85
#AF9836 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#AF9836 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9836
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9836 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9836 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79529
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#BD8C84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9836; /* rgb */ color: rgb(175, 152, 54); /* oklch */ color: oklch(68.2% 0.118 95.8);
Tailwind
colors: {
custom: {
50: '#cab673',
500: '#af9836',
950: '#000000',
},
}SCSS
$custom: #af9836; $custom-light: #cab673; $custom-dark: #000000;
JSON
{
"hex": "#af9836",
"rgb": {
"r": 175,
"g": 152,
"b": 54
},
"hsl": {
"h": 48.595,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.68199,
"c": 0.1185,
"h": 95.8
},
"luminance": 0.31837
}Semantic roles & 50–950 ramp
primary
#AF9836
secondary
#7D8BC3
accent
#67DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B