#AF9839#AF9839
#AF9839 is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.2% C 0.116 H 95.4°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9839 |
|---|---|
| RGB | rgb(175, 152, 57) |
| HSL | hsl(48, 51%, 45%) |
| HSV | hsv(48, 67%, 69%) |
| CMYK | cmyk(0%, 13.1%, 67.4%, 31.4%) |
| CIE-LAB | lab(63.23, -2.43, 51.27) |
| CIE-LCH | lch(63.23, 51.33, 92.71°) |
| OKLab | oklab(68.23% -0.011 0.1157) |
| OKLCH | oklch(68.23% 0.116 95.4) |
| XYZ | xyz(29.6474, 31.8674, 8.4595) |
| Luminance | 0.3187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.10
Baby Shit Brown
#AD900D
ΔE00 4.17
Dark Gold
#B59410
ΔE00 4.29
Baby Poo
#AB9004
ΔE00 4.36
Yellow Brown
#B79400
ΔE00 5.04
Ocher
#BF9B0C
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9839 #3950AF
analogous
#AF5D39 #AF9839 #8BAF39
triadic
#AF9839 #39AF98 #9839AF
tetradic
#AF9839 #39AF5D #3950AF #AF398B
square
#AF9839 #39AF5D #3950AF #AF398B
split-complementary
#AF9839 #398BAF #5D39AF
monochromatic
#53481B #81702A #AF9839 #CAB45B #D9C98A
Accessibility & contrast
On white
2.85
#AF9839 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#AF9839 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9839
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9839 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9839 | 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)
#A7952D
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9839; /* rgb */ color: rgb(175, 152, 57); /* oklch */ color: oklch(68.2% 0.116 95.4);
Tailwind
colors: {
custom: {
50: '#cab674',
500: '#af9839',
950: '#000000',
},
}SCSS
$custom: #af9839; $custom-light: #cab674; $custom-dark: #000000;
JSON
{
"hex": "#af9839",
"rgb": {
"r": 175,
"g": 152,
"b": 57
},
"hsl": {
"h": 48.305,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.68226,
"c": 0.11626,
"h": 95.4
},
"luminance": 0.31866
}Semantic roles & 50–950 ramp
primary
#AF9839
secondary
#818EC3
accent
#69DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B