#C9AF36#C9AF36
#C9AF36 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.138 H 96.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF36 |
|---|---|
| RGB | rgb(201, 175, 54) |
| HSL | hsl(49, 58%, 50%) |
| HSV | hsv(49, 73%, 79%) |
| CMYK | cmyk(0%, 12.9%, 73.1%, 21.2%) |
| CIE-LAB | lab(71.79, -3.44, 61.90) |
| CIE-LCH | lch(71.79, 62.00, 93.18°) |
| OKLab | oklab(75.57% -0.0158 0.1368) |
| OKLCH | oklch(75.57% 0.138 96.6) |
| XYZ | xyz(40.0853, 43.3459, 9.7445) |
| Luminance | 0.4334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.02
Mustard (survey)
#CEB301
ΔE00 3.41
Muddy Yellow
#BFAC05
ΔE00 3.52
Dark Yellow
#D5B60A
ΔE00 3.97
Mustard
#DBB42C
ΔE00 4.13
Gold (survey)
#DBB40C
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF36 #3650C9
analogous
#C96636 #C9AF36 #99C936
triadic
#C9AF36 #36C9AF #AF36C9
tetradic
#C9AF36 #36C966 #3650C9 #C93699
square
#C9AF36 #36C966 #3650C9 #C93699
split-complementary
#C9AF36 #3699C9 #6636C9
monochromatic
#695B1C #998529 #C9AF36 #D6C266 #E3D596
Accessibility & contrast
On white
2.17
#C9AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#C9AF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF36
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF36 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB22
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af36; /* rgb */ color: rgb(201, 175, 54); /* oklch */ color: oklch(75.6% 0.138 96.6);
Tailwind
colors: {
custom: {
50: '#ddc675',
500: '#c9af36',
950: '#000000',
},
}SCSS
$custom: #c9af36; $custom-light: #ddc675; $custom-dark: #000000;
JSON
{
"hex": "#c9af36",
"rgb": {
"r": 201,
"g": 175,
"b": 54
},
"hsl": {
"h": 49.388,
"s": 57.647,
"l": 50
},
"oklch": {
"l": 0.75568,
"c": 0.13767,
"h": 96.6
},
"luminance": 0.43344
}Semantic roles & 50–950 ramp
primary
#C9AF36
secondary
#8C98CE
accent
#62E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B