#AF9B2C#AF9B2C
#AF9B2C is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.8% C 0.127 H 98.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B2C |
|---|---|
| RGB | rgb(175, 155, 44) |
| HSL | hsl(51, 60%, 43%) |
| HSV | hsv(51, 75%, 69%) |
| CMYK | cmyk(0%, 11.4%, 74.9%, 31.4%) |
| CIE-LAB | lab(63.95, -4.72, 57.23) |
| CIE-LCH | lch(63.95, 57.43, 94.72°) |
| OKLab | oklab(68.76% -0.019 0.126) |
| OKLCH | oklch(68.76% 0.127 98.6) |
| XYZ | xyz(29.8566, 32.7400, 7.1292) |
| Luminance | 0.3274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.07
Baby Poo
#AB9004
ΔE00 4.11
Baby Shit Brown
#AD900D
ΔE00 4.22
Dark Gold
#B59410
ΔE00 4.30
Yellow Brown
#B79400
ΔE00 4.94
Ocher
#BF9B0C
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B2C #2C40AF
analogous
#AF5A2C #AF9B2C #81AF2C
triadic
#AF9B2C #2CAF9B #9B2CAF
tetradic
#AF9B2C #2CAF5A #2C40AF #AF2C81
square
#AF9B2C #2CAF5A #2C40AF #AF2C81
split-complementary
#AF9B2C #2C81AF #5A2CAF
monochromatic
#4D4413 #7E7020 #AF9B2C #D1BC47 #DDCE78
Accessibility & contrast
On white
2.78
#AF9B2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#AF9B2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B2C
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B2C | 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)
#AB9718
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#BD8F85
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b2c; /* rgb */ color: rgb(175, 155, 44); /* oklch */ color: oklch(68.8% 0.127 98.6);
Tailwind
colors: {
custom: {
50: '#cbb86d',
500: '#af9b2c',
950: '#000000',
},
}SCSS
$custom: #af9b2c; $custom-light: #cbb86d; $custom-dark: #000000;
JSON
{
"hex": "#af9b2c",
"rgb": {
"r": 175,
"g": 155,
"b": 44
},
"hsl": {
"h": 50.84,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.68764,
"c": 0.12741,
"h": 98.6
},
"luminance": 0.32738
}Semantic roles & 50–950 ramp
primary
#AF9B2C
secondary
#727EC5
accent
#5DE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A