#C1AF43#C1AF43
#C1AF43 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.128 H 99.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AF43 |
|---|---|
| RGB | rgb(193, 175, 67) |
| HSL | hsl(51, 50%, 51%) |
| HSV | hsv(51, 65%, 76%) |
| CMYK | cmyk(0%, 9.3%, 65.3%, 24.3%) |
| CIE-LAB | lab(71.15, -6.21, 55.79) |
| CIE-LCH | lch(71.15, 56.13, 96.36°) |
| OKLab | oklab(74.92% -0.0218 0.1264) |
| OKLCH | oklch(74.92% 0.128 99.8) |
| XYZ | xyz(38.3370, 42.4043, 11.4746) |
| Luminance | 0.4240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.23
Brownish Yellow
#C9B003
ΔE00 4.84
Olive Yellow
#C2B709
ΔE00 5.29
Mustard (survey)
#CEB301
ΔE00 5.43
Dark Yellow
#D5B60A
ΔE00 6.21
Darkkhaki
#BDB76B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AF43 #4355C1
analogous
#C17043 #C1AF43 #94C143
triadic
#C1AF43 #43C1AF #AF43C1
tetradic
#C1AF43 #43C170 #4355C1 #C14394
square
#C1AF43 #43C170 #4355C1 #C14394
split-complementary
#C1AF43 #4394C1 #7043C1
monochromatic
#675E22 #958731 #C1AF43 #D0C371 #DFD69F
Accessibility & contrast
On white
2.22
#C1AF43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#C1AF43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AF43
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AF43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AF43 | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA36
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#CFA398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c1af43; /* rgb */ color: rgb(193, 175, 67); /* oklch */ color: oklch(74.9% 0.128 99.8);
Tailwind
colors: {
custom: {
50: '#d7c67c',
500: '#c1af43',
950: '#000000',
},
}SCSS
$custom: #c1af43; $custom-light: #d7c67c; $custom-dark: #000000;
JSON
{
"hex": "#c1af43",
"rgb": {
"r": 193,
"g": 175,
"b": 67
},
"hsl": {
"h": 51.429,
"s": 50.4,
"l": 50.98
},
"oklch": {
"l": 0.74917,
"c": 0.12823,
"h": 99.8
},
"luminance": 0.42403
}Semantic roles & 50–950 ramp
primary
#C1AF43
secondary
#949CCC
accent
#62DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C