#AF9B2D#AF9B2D
#AF9B2D is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.8% C 0.127 H 98.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B2D |
|---|---|
| RGB | rgb(175, 155, 45) |
| HSL | hsl(51, 59%, 43%) |
| HSV | hsv(51, 74%, 69%) |
| CMYK | cmyk(0%, 11.4%, 74.3%, 31.4%) |
| CIE-LAB | lab(63.96, -4.68, 56.87) |
| CIE-LCH | lch(63.96, 57.06, 94.70°) |
| OKLab | oklab(68.77% -0.0188 0.1254) |
| OKLCH | oklch(68.77% 0.127 98.5) |
| XYZ | xyz(29.8757, 32.7476, 7.2294) |
| Luminance | 0.3275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.14
Baby Poo
#AB9004
ΔE00 4.15
Baby Shit Brown
#AD900D
ΔE00 4.25
Dark Gold
#B59410
ΔE00 4.33
Yellow Brown
#B79400
ΔE00 4.98
Ocher
#BF9B0C
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B2D #2D41AF
analogous
#AF5A2D #AF9B2D #82AF2D
triadic
#AF9B2D #2DAF9B #9B2DAF
tetradic
#AF9B2D #2DAF5A #2D41AF #AF2D82
square
#AF9B2D #2DAF5A #2D41AF #AF2D82
split-complementary
#AF9B2D #2D82AF #5A2DAF
monochromatic
#4E4514 #7E7020 #AF9B2D #D0BB49 #DDCD7A
Accessibility & contrast
On white
2.78
#AF9B2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#AF9B2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B2D
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B2D | 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)
#AB971A
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#BD8F86
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b2d; /* rgb */ color: rgb(175, 155, 45); /* oklch */ color: oklch(68.8% 0.127 98.5);
Tailwind
colors: {
custom: {
50: '#cbb86e',
500: '#af9b2d',
950: '#000000',
},
}SCSS
$custom: #af9b2d; $custom-light: #cbb86e; $custom-dark: #000000;
JSON
{
"hex": "#af9b2d",
"rgb": {
"r": 175,
"g": 155,
"b": 45
},
"hsl": {
"h": 50.769,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.68771,
"c": 0.1268,
"h": 98.5
},
"luminance": 0.32746
}Semantic roles & 50–950 ramp
primary
#AF9B2D
secondary
#7380C5
accent
#5EE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B