#AF9126#AF9126
#AF9126 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.6% C 0.124 H 92.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9126 |
|---|---|
| RGB | rgb(175, 145, 38) |
| HSL | hsl(47, 64%, 42%) |
| HSV | hsv(47, 78%, 69%) |
| CMYK | cmyk(0%, 17.1%, 78.3%, 31.4%) |
| CIE-LAB | lab(61.23, 0.44, 56.85) |
| CIE-LCH | lch(61.23, 56.85, 89.56°) |
| OKLab | oklab(66.6% -0.005 0.1239) |
| OKLCH | oklch(66.6% 0.124 92.3) |
| XYZ | xyz(28.1561, 29.5064, 6.0456) |
| Luminance | 0.2950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.85
Dark Gold
#B59410
ΔE00 2.29
Baby Poo
#AB9004
ΔE00 2.43
Yellowy Brown
#AE8B0C
ΔE00 2.52
Yellow Brown
#B79400
ΔE00 3.01
Dark Mustard
#A88905
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9126 #2644AF
analogous
#AF4C26 #AF9126 #89AF26
triadic
#AF9126 #26AF91 #9126AF
tetradic
#AF9126 #26AF4C #2644AF #AF2689
square
#AF9126 #26AF4C #2644AF #AF2689
split-complementary
#AF9126 #2689AF #4C26AF
monochromatic
#4A3E10 #7D671B #AF9126 #D5B43D #E0C770
Accessibility & contrast
On white
3.04
#AF9126 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#AF9126 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF9126
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9126 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F10
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#BE857D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af9126; /* rgb */ color: rgb(175, 145, 38); /* oklch */ color: oklch(66.6% 0.124 92.3);
Tailwind
colors: {
custom: {
50: '#cbb069',
500: '#af9126',
950: '#000000',
},
}SCSS
$custom: #af9126; $custom-light: #cbb069; $custom-dark: #000000;
JSON
{
"hex": "#af9126",
"rgb": {
"r": 175,
"g": 145,
"b": 38
},
"hsl": {
"h": 46.861,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.66598,
"c": 0.12404,
"h": 92.3
},
"luminance": 0.29505
}Semantic roles & 50–950 ramp
primary
#AF9126
secondary
#6A7EC7
accent
#65E740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A