#AF9B36#AF9B36
#AF9B36 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.121 H 97.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B36 |
|---|---|
| RGB | rgb(175, 155, 54) |
| HSL | hsl(50, 53%, 45%) |
| HSV | hsv(50, 69%, 69%) |
| CMYK | cmyk(0%, 11.4%, 69.1%, 31.4%) |
| CIE-LAB | lab(64.02, -4.22, 53.36) |
| CIE-LCH | lch(64.02, 53.53, 94.52°) |
| OKLab | oklab(68.84% -0.0165 0.1197) |
| OKLCH | oklch(68.84% 0.121 97.9) |
| XYZ | xyz(30.0678, 32.8245, 8.2413) |
| Luminance | 0.3282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.91
Baby Shit Brown
#AD900D
ΔE00 4.65
Baby Poo
#AB9004
ΔE00 4.66
Dark Gold
#B59410
ΔE00 4.73
Yellow Brown
#B79400
ΔE00 5.43
Ocher
#BF9B0C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B36 #364AAF
analogous
#AF5F36 #AF9B36 #86AF36
triadic
#AF9B36 #36AF9B #9B36AF
tetradic
#AF9B36 #36AF5F #364AAF #AF3686
square
#AF9B36 #36AF5F #364AAF #AF3686
split-complementary
#AF9B36 #3686AF #5F36AF
monochromatic
#514819 #807228 #AF9B36 #CBB857 #DACC86
Accessibility & contrast
On white
2.78
#AF9B36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#AF9B36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B36
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B36 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9728
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#BD9086
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b36; /* rgb */ color: rgb(175, 155, 54); /* oklch */ color: oklch(68.8% 0.121 97.9);
Tailwind
colors: {
custom: {
50: '#cab873',
500: '#af9b36',
950: '#000000',
},
}SCSS
$custom: #af9b36; $custom-light: #cab873; $custom-dark: #000000;
JSON
{
"hex": "#af9b36",
"rgb": {
"r": 175,
"g": 155,
"b": 54
},
"hsl": {
"h": 50.083,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.6884,
"c": 0.12078,
"h": 97.9
},
"luminance": 0.32823
}Semantic roles & 50–950 ramp
primary
#AF9B36
secondary
#7D89C3
accent
#63DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B