#C2AD3F#C2AD3F
#C2AD3F is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.6% C 0.130 H 98.3°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AD3F |
|---|---|
| RGB | rgb(194, 173, 63) |
| HSL | hsl(50, 52%, 50%) |
| HSV | hsv(50, 68%, 76%) |
| CMYK | cmyk(0%, 10.8%, 67.5%, 23.9%) |
| CIE-LAB | lab(70.68, -4.97, 57.01) |
| CIE-LCH | lch(70.68, 57.23, 94.98°) |
| OKLab | oklab(74.55% -0.0188 0.1283) |
| OKLCH | oklch(74.55% 0.13 98.3) |
| XYZ | xyz(38.0906, 41.7172, 10.7475) |
| Luminance | 0.4172 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.91
Brownish Yellow
#C9B003
ΔE00 4.38
Mustard (survey)
#CEB301
ΔE00 5.00
Olive Yellow
#C2B709
ΔE00 5.56
Dark Yellow
#D5B60A
ΔE00 5.77
Mustard
#DBB42C
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AD3F #3F54C2
analogous
#C26C3F #C2AD3F #95C23F
triadic
#C2AD3F #3FC2AD #AD3FC2
tetradic
#C2AD3F #3FC26C #3F54C2 #C23F95
square
#C2AD3F #3FC26C #3F54C2 #C23F95
split-complementary
#C2AD3F #3F95C2 #6C3FC2
monochromatic
#665B20 #95842F #C2AD3F #D1C16D #E0D59C
Accessibility & contrast
On white
2.25
#C2AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#C2AD3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AD3F
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AD3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AD3F | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA930
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#D1A196
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c2ad3f; /* rgb */ color: rgb(194, 173, 63); /* oklch */ color: oklch(74.6% 0.130 98.3);
Tailwind
colors: {
custom: {
50: '#d8c57a',
500: '#c2ad3f',
950: '#000000',
},
}SCSS
$custom: #c2ad3f; $custom-light: #d8c57a; $custom-dark: #000000;
JSON
{
"hex": "#c2ad3f",
"rgb": {
"r": 194,
"g": 173,
"b": 63
},
"hsl": {
"h": 50.382,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.74553,
"c": 0.12963,
"h": 98.3
},
"luminance": 0.41715
}Semantic roles & 50–950 ramp
primary
#C2AD3F
secondary
#919BCC
accent
#63DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B