#AF9B2E#AF9B2E
#AF9B2E is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.126 H 98.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B2E |
|---|---|
| RGB | rgb(175, 155, 46) |
| HSL | hsl(51, 58%, 43%) |
| HSV | hsv(51, 74%, 69%) |
| CMYK | cmyk(0%, 11.4%, 73.7%, 31.4%) |
| CIE-LAB | lab(63.96, -4.63, 56.50) |
| CIE-LCH | lch(63.96, 56.69, 94.69°) |
| OKLab | oklab(68.78% -0.0186 0.1248) |
| OKLCH | oklch(68.78% 0.126 98.5) |
| XYZ | xyz(29.8951, 32.7554, 7.3320) |
| Luminance | 0.3275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.22
Baby Poo
#AB9004
ΔE00 4.19
Baby Shit Brown
#AD900D
ΔE00 4.28
Dark Gold
#B59410
ΔE00 4.36
Yellow Brown
#B79400
ΔE00 5.02
Ocher
#BF9B0C
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B2E #2E42AF
analogous
#AF5B2E #AF9B2E #82AF2E
triadic
#AF9B2E #2EAF9B #9B2EAF
tetradic
#AF9B2E #2EAF5B #2E42AF #AF2E82
square
#AF9B2E #2EAF5B #2E42AF #AF2E82
split-complementary
#AF9B2E #2E82AF #5B2EAF
monochromatic
#4E4515 #7F7021 #AF9B2E #D0BB4B #DCCD7B
Accessibility & contrast
On white
2.78
#AF9B2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#AF9B2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B2E
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B2E | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB971C
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#BD8F86
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b2e; /* rgb */ color: rgb(175, 155, 46); /* oklch */ color: oklch(68.8% 0.126 98.5);
Tailwind
colors: {
custom: {
50: '#cbb86e',
500: '#af9b2e',
950: '#000000',
},
}SCSS
$custom: #af9b2e; $custom-light: #cbb86e; $custom-dark: #000000;
JSON
{
"hex": "#af9b2e",
"rgb": {
"r": 175,
"g": 155,
"b": 46
},
"hsl": {
"h": 50.698,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.68778,
"c": 0.12619,
"h": 98.5
},
"luminance": 0.32754
}Semantic roles & 50–950 ramp
primary
#AF9B2E
secondary
#7481C5
accent
#5EE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B