#AF9F29#AF9F29
#AF9F29 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.132 H 101.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F29 |
|---|---|
| RGB | rgb(175, 159, 41) |
| HSL | hsl(53, 62%, 42%) |
| HSV | hsv(53, 77%, 69%) |
| CMYK | cmyk(0%, 9.1%, 76.6%, 31.4%) |
| CIE-LAB | lab(65.02, -6.99, 59.31) |
| CIE-LCH | lch(65.02, 59.72, 96.72°) |
| OKLab | oklab(69.61% -0.0257 0.1298) |
| OKLCH | oklch(69.61% 0.132 101.2) |
| XYZ | xyz(30.4790, 34.0717, 7.0685) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.01
Puke
#A5A502
ΔE00 4.85
Muddy Yellow
#BFAC05
ΔE00 5.01
Vomit
#A2A415
ΔE00 5.04
Baby Poo
#AB9004
ΔE00 5.37
Baby Shit Brown
#AD900D
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F29 #2939AF
analogous
#AF5C29 #AF9F29 #7CAF29
triadic
#AF9F29 #29AF9F #9F29AF
tetradic
#AF9F29 #29AF5C #2939AF #AF297C
square
#AF9F29 #29AF5C #2939AF #AF297C
split-complementary
#AF9F29 #297CAF #5C29AF
monochromatic
#4C4512 #7D721D #AF9F29 #D3C242 #DED274
Accessibility & contrast
On white
2.69
#AF9F29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#AF9F29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F29
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F29 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A10
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#BD9389
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9f29; /* rgb */ color: rgb(175, 159, 41); /* oklch */ color: oklch(69.6% 0.132 101.2);
Tailwind
colors: {
custom: {
50: '#cbbb6c',
500: '#af9f29',
950: '#000000',
},
}SCSS
$custom: #af9f29; $custom-light: #cbbb6c; $custom-dark: #000000;
JSON
{
"hex": "#af9f29",
"rgb": {
"r": 175,
"g": 159,
"b": 41
},
"hsl": {
"h": 52.836,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.69607,
"c": 0.13233,
"h": 101.2
},
"luminance": 0.3407
}Semantic roles & 50–950 ramp
primary
#AF9F29
secondary
#6E78C6
accent
#56E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A