#AF9F39#AF9F39
#AF9F39 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.122 H 100.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F39 |
|---|---|
| RGB | rgb(175, 159, 57) |
| HSL | hsl(52, 51%, 45%) |
| HSV | hsv(52, 67%, 69%) |
| CMYK | cmyk(0%, 9.1%, 67.4%, 31.4%) |
| CIE-LAB | lab(65.13, -6.19, 53.24) |
| CIE-LCH | lch(65.13, 53.60, 96.63°) |
| OKLab | oklab(69.73% -0.0218 0.1199) |
| OKLCH | oklch(69.73% 0.122 100.3) |
| XYZ | xyz(30.8172, 34.2070, 8.8494) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.90
Vomit
#A2A415
ΔE00 5.79
Puke
#A5A502
ΔE00 5.87
Baby Poo
#AB9004
ΔE00 5.94
Baby Shit Brown
#AD900D
ΔE00 6.04
Dark Gold
#B59410
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F39 #3949AF
analogous
#AF6439 #AF9F39 #84AF39
triadic
#AF9F39 #39AF9F #9F39AF
tetradic
#AF9F39 #39AF64 #3949AF #AF3984
square
#AF9F39 #39AF64 #3949AF #AF3984
split-complementary
#AF9F39 #3984AF #6439AF
monochromatic
#534B1B #81752A #AF9F39 #CABB5B #D9CE8A
Accessibility & contrast
On white
2.68
#AF9F39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#AF9F39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F39
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F39 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B2C
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#BC948A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9f39; /* rgb */ color: rgb(175, 159, 57); /* oklch */ color: oklch(69.7% 0.122 100.3);
Tailwind
colors: {
custom: {
50: '#cabb75',
500: '#af9f39',
950: '#000000',
},
}SCSS
$custom: #af9f39; $custom-light: #cabb75; $custom-dark: #000000;
JSON
{
"hex": "#af9f39",
"rgb": {
"r": 175,
"g": 159,
"b": 57
},
"hsl": {
"h": 51.864,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.69726,
"c": 0.12187,
"h": 100.3
},
"luminance": 0.34206
}Semantic roles & 50–950 ramp
primary
#AF9F39
secondary
#818AC3
accent
#61DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B