#AF9339#AF9339
#AF9339 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 67.2% C 0.113 H 91.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9339 |
|---|---|
| RGB | rgb(175, 147, 57) |
| HSL | hsl(46, 51%, 45%) |
| HSV | hsv(46, 67%, 69%) |
| CMYK | cmyk(0%, 16%, 67.4%, 31.4%) |
| CIE-LAB | lab(61.89, 0.29, 49.86) |
| CIE-LCH | lch(61.89, 49.86, 89.67°) |
| OKLab | oklab(67.17% -0.0032 0.1128) |
| OKLCH | oklch(67.17% 0.113 91.6) |
| XYZ | xyz(28.8529, 30.2784, 8.1947) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 3.89
Dark Gold
#B59410
ΔE00 4.07
Yellowy Brown
#AE8B0C
ΔE00 4.33
Baby Poo
#AB9004
ΔE00 4.35
Dark Mustard
#A88905
ΔE00 4.75
Yellow Brown
#B79400
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9339 #3955AF
analogous
#AF5839 #AF9339 #90AF39
triadic
#AF9339 #39AF93 #9339AF
tetradic
#AF9339 #39AF58 #3955AF #AF3990
square
#AF9339 #39AF58 #3955AF #AF3990
split-complementary
#AF9339 #3990AF #5839AF
monochromatic
#53451B #816C2A #AF9339 #CAB05B #D9C68A
Accessibility & contrast
On white
2.98
#AF9339 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#AF9339 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9339
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9339 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9339 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3912E
Deuteranopia (green-blind)
#A9993D
Tritanopia (blue-blind)
#BD8780
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af9339; /* rgb */ color: rgb(175, 147, 57); /* oklch */ color: oklch(67.2% 0.113 91.6);
Tailwind
colors: {
custom: {
50: '#cab274',
500: '#af9339',
950: '#000000',
},
}SCSS
$custom: #af9339; $custom-light: #cab274; $custom-dark: #000000;
JSON
{
"hex": "#af9339",
"rgb": {
"r": 175,
"g": 147,
"b": 57
},
"hsl": {
"h": 45.763,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.67168,
"c": 0.1128,
"h": 91.6
},
"luminance": 0.30277
}Semantic roles & 50–950 ramp
primary
#AF9339
secondary
#8190C3
accent
#6FDA4D
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B