#C1AF45#C1AF45
#C1AF45 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.127 H 99.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AF45 |
|---|---|
| RGB | rgb(193, 175, 69) |
| HSL | hsl(51, 50%, 51%) |
| HSV | hsv(51, 64%, 76%) |
| CMYK | cmyk(0%, 9.3%, 64.2%, 24.3%) |
| CIE-LAB | lab(71.17, -6.09, 54.94) |
| CIE-LCH | lch(71.17, 55.28, 96.32°) |
| OKLab | oklab(74.94% -0.0212 0.1249) |
| OKLCH | oklch(74.94% 0.127 99.6) |
| XYZ | xyz(38.3981, 42.4288, 11.7961) |
| Luminance | 0.4243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 5.05
Olive Yellow
#C2B709
ΔE00 5.50
Mustard (survey)
#CEB301
ΔE00 5.63
Darkkhaki
#BDB76B
ΔE00 6.11
Desert
#CCAD60
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AF45 #4557C1
analogous
#C17145 #C1AF45 #95C145
triadic
#C1AF45 #45C1AF #AF45C1
tetradic
#C1AF45 #45C171 #4557C1 #C14595
square
#C1AF45 #45C171 #4557C1 #C14595
split-complementary
#C1AF45 #4595C1 #7145C1
monochromatic
#695F23 #978832 #C1AF45 #D0C373 #E0D6A1
Accessibility & contrast
On white
2.21
#C1AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#C1AF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AF45
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AF45 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#CFA399
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c1af45; /* rgb */ color: rgb(193, 175, 69); /* oklch */ color: oklch(74.9% 0.127 99.6);
Tailwind
colors: {
custom: {
50: '#d7c67d',
500: '#c1af45',
950: '#000000',
},
}SCSS
$custom: #c1af45; $custom-light: #d7c67d; $custom-dark: #000000;
JSON
{
"hex": "#c1af45",
"rgb": {
"r": 193,
"g": 175,
"b": 69
},
"hsl": {
"h": 51.29,
"s": 50,
"l": 51.373
},
"oklch": {
"l": 0.74936,
"c": 0.12667,
"h": 99.6
},
"luminance": 0.42427
}Semantic roles & 50–950 ramp
primary
#C1AF45
secondary
#969ECC
accent
#62DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C