#AF9A2C#AF9A2C
#AF9A2C is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.127 H 98.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9A2C |
|---|---|
| RGB | rgb(175, 154, 44) |
| HSL | hsl(50, 60%, 43%) |
| HSV | hsv(50, 75%, 69%) |
| CMYK | cmyk(0%, 12%, 74.9%, 31.4%) |
| CIE-LAB | lab(63.68, -4.19, 56.98) |
| CIE-LCH | lch(63.68, 57.13, 94.20°) |
| OKLab | oklab(68.55% -0.0175 0.1254) |
| OKLCH | oklch(68.55% 0.127 98) |
| XYZ | xyz(29.6909, 32.4085, 7.0740) |
| Luminance | 0.3241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.89
Baby Poo
#AB9004
ΔE00 3.81
Baby Shit Brown
#AD900D
ΔE00 3.88
Dark Gold
#B59410
ΔE00 3.98
Yellow Brown
#B79400
ΔE00 4.65
Ocher
#BF9B0C
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9A2C #2C41AF
analogous
#AF592C #AF9A2C #82AF2C
triadic
#AF9A2C #2CAF9A #9A2CAF
tetradic
#AF9A2C #2CAF59 #2C41AF #AF2C82
square
#AF9A2C #2CAF59 #2C41AF #AF2C82
split-complementary
#AF9A2C #2C82AF #592CAF
monochromatic
#4D4413 #7E6F20 #AF9A2C #D1BB47 #DDCD78
Accessibility & contrast
On white
2.81
#AF9A2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#AF9A2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9A2C
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9A2C | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9618
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9a2c; /* rgb */ color: rgb(175, 154, 44); /* oklch */ color: oklch(68.5% 0.127 98.0);
Tailwind
colors: {
custom: {
50: '#cbb76d',
500: '#af9a2c',
950: '#000000',
},
}SCSS
$custom: #af9a2c; $custom-light: #cbb76d; $custom-dark: #000000;
JSON
{
"hex": "#af9a2c",
"rgb": {
"r": 175,
"g": 154,
"b": 44
},
"hsl": {
"h": 50.382,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.68549,
"c": 0.12665,
"h": 98
},
"luminance": 0.32407
}Semantic roles & 50–950 ramp
primary
#AF9A2C
secondary
#727FC5
accent
#5EE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A