#AF9226#AF9226
#AF9226 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.125 H 93.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9226 |
|---|---|
| RGB | rgb(175, 146, 38) |
| HSL | hsl(47, 64%, 42%) |
| HSV | hsv(47, 78%, 69%) |
| CMYK | cmyk(0%, 16.6%, 78.3%, 31.4%) |
| CIE-LAB | lab(61.49, -0.11, 57.09) |
| CIE-LCH | lch(61.49, 57.09, 90.11°) |
| OKLab | oklab(66.81% -0.0065 0.1245) |
| OKLCH | oklch(66.81% 0.125 93) |
| XYZ | xyz(28.3095, 29.8134, 6.0968) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.77
Dark Gold
#B59410
ΔE00 2.20
Baby Poo
#AB9004
ΔE00 2.28
Yellowy Brown
#AE8B0C
ΔE00 2.83
Yellow Brown
#B79400
ΔE00 2.96
Brown Yellow
#B29705
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9226 #2643AF
analogous
#AF4E26 #AF9226 #88AF26
triadic
#AF9226 #26AF92 #9226AF
tetradic
#AF9226 #26AF4E #2643AF #AF2688
square
#AF9226 #26AF4E #2643AF #AF2688
split-complementary
#AF9226 #2688AF #4E26AF
monochromatic
#4A3E10 #7D681B #AF9226 #D5B53D #E0C870
Accessibility & contrast
On white
3.02
#AF9226 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#AF9226 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF9226
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9226 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3900F
Deuteranopia (green-blind)
#AA982D
Tritanopia (blue-blind)
#BE867D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af9226; /* rgb */ color: rgb(175, 146, 38); /* oklch */ color: oklch(66.8% 0.125 93.0);
Tailwind
colors: {
custom: {
50: '#cbb169',
500: '#af9226',
950: '#000000',
},
}SCSS
$custom: #af9226; $custom-light: #cbb169; $custom-dark: #000000;
JSON
{
"hex": "#af9226",
"rgb": {
"r": 175,
"g": 146,
"b": 38
},
"hsl": {
"h": 47.299,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.66809,
"c": 0.12463,
"h": 93
},
"luminance": 0.29812
}Semantic roles & 50–950 ramp
primary
#AF9226
secondary
#6A7EC7
accent
#64E740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A