#C9AF3D#C9AF3D
#C9AF3D is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.133 H 96.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF3D |
|---|---|
| RGB | rgb(201, 175, 61) |
| HSL | hsl(49, 56%, 51%) |
| HSV | hsv(49, 70%, 79%) |
| CMYK | cmyk(0%, 12.9%, 69.7%, 21.2%) |
| CIE-LAB | lab(71.84, -3.10, 59.23) |
| CIE-LCH | lch(71.84, 59.31, 92.99°) |
| OKLab | oklab(75.62% -0.0141 0.1324) |
| OKLCH | oklch(75.62% 0.133 96.1) |
| XYZ | xyz(40.2616, 43.4165, 10.6735) |
| Luminance | 0.4341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.74
Mustard (survey)
#CEB301
ΔE00 4.10
Muddy Yellow
#BFAC05
ΔE00 4.13
Mustard
#DBB42C
ΔE00 4.34
Dark Yellow
#D5B60A
ΔE00 4.55
Burnt Yellow
#D5AB09
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF3D #3D57C9
analogous
#C9693D #C9AF3D #9DC93D
triadic
#C9AF3D #3DC9AF #AF3DC9
tetradic
#C9AF3D #3DC969 #3D57C9 #C93D9D
square
#C9AF3D #3DC969 #3D57C9 #C93D9D
split-complementary
#C9AF3D #3D9DC9 #693DC9
monochromatic
#6D5F1E #9D882C #C9AF3D #D6C36D #E4D69D
Accessibility & contrast
On white
2.17
#C9AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#C9AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF3D
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF3D | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB2D
Deuteranopia (green-blind)
#C7B443
Tritanopia (blue-blind)
#D9A298
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af3d; /* rgb */ color: rgb(201, 175, 61); /* oklch */ color: oklch(75.6% 0.133 96.1);
Tailwind
colors: {
custom: {
50: '#ddc679',
500: '#c9af3d',
950: '#000000',
},
}SCSS
$custom: #c9af3d; $custom-light: #ddc679; $custom-dark: #000000;
JSON
{
"hex": "#c9af3d",
"rgb": {
"r": 201,
"g": 175,
"b": 61
},
"hsl": {
"h": 48.857,
"s": 56.452,
"l": 51.373
},
"oklch": {
"l": 0.75621,
"c": 0.13313,
"h": 96.1
},
"luminance": 0.43414
}Semantic roles & 50–950 ramp
primary
#C9AF3D
secondary
#929ED0
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B