#AF9939#AF9939
#AF9939 is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.4% C 0.117 H 96.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9939 |
|---|---|
| RGB | rgb(175, 153, 57) |
| HSL | hsl(49, 51%, 45%) |
| HSV | hsv(49, 67%, 69%) |
| CMYK | cmyk(0%, 12.6%, 67.4%, 31.4%) |
| CIE-LAB | lab(63.50, -2.97, 51.55) |
| CIE-LCH | lch(63.50, 51.64, 93.30°) |
| OKLab | oklab(68.44% -0.0126 0.1163) |
| OKLCH | oklch(68.44% 0.117 96.2) |
| XYZ | xyz(29.8103, 32.1933, 8.5138) |
| Luminance | 0.3219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.09
Baby Shit Brown
#AD900D
ΔE00 4.36
Dark Gold
#B59410
ΔE00 4.47
Baby Poo
#AB9004
ΔE00 4.50
Yellow Brown
#B79400
ΔE00 5.21
Ocher
#BF9B0C
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9939 #394FAF
analogous
#AF5E39 #AF9939 #8AAF39
triadic
#AF9939 #39AF99 #9939AF
tetradic
#AF9939 #39AF5E #394FAF #AF398A
square
#AF9939 #39AF5E #394FAF #AF398A
split-complementary
#AF9939 #398AAF #5E39AF
monochromatic
#53481B #81712A #AF9939 #CAB55B #D9CA8A
Accessibility & contrast
On white
2.82
#AF9939 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#AF9939 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9939
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9939 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9939 | 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)
#A8962D
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9939; /* rgb */ color: rgb(175, 153, 57); /* oklch */ color: oklch(68.4% 0.117 96.2);
Tailwind
colors: {
custom: {
50: '#cab674',
500: '#af9939',
950: '#000000',
},
}SCSS
$custom: #af9939; $custom-light: #cab674; $custom-dark: #000000;
JSON
{
"hex": "#af9939",
"rgb": {
"r": 175,
"g": 153,
"b": 57
},
"hsl": {
"h": 48.814,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.68439,
"c": 0.11701,
"h": 96.2
},
"luminance": 0.32192
}Semantic roles & 50–950 ramp
primary
#AF9939
secondary
#818DC3
accent
#68DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B