#C6AF36#C6AF36
#C6AF36 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.137 H 98.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AF36 |
|---|---|
| RGB | rgb(198, 175, 54) |
| HSL | hsl(50, 57%, 49%) |
| HSV | hsv(50, 73%, 78%) |
| CMYK | cmyk(0%, 11.6%, 72.7%, 22.4%) |
| CIE-LAB | lab(71.51, -4.75, 61.53) |
| CIE-LCH | lch(71.51, 61.72, 94.41°) |
| OKLab | oklab(75.28% -0.0194 0.1361) |
| OKLCH | oklch(75.28% 0.137 98.1) |
| XYZ | xyz(39.2865, 42.9340, 9.7071) |
| Luminance | 0.4293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.05
Muddy Yellow
#BFAC05
ΔE00 3.08
Mustard (survey)
#CEB301
ΔE00 3.59
Dark Yellow
#D5B60A
ΔE00 4.36
Olive Yellow
#C2B709
ΔE00 4.76
Mustard
#DBB42C
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AF36 #364DC6
analogous
#C66736 #C6AF36 #95C636
triadic
#C6AF36 #36C6AF #AF36C6
tetradic
#C6AF36 #36C667 #364DC6 #C63695
square
#C6AF36 #36C667 #364DC6 #C63695
split-complementary
#C6AF36 #3695C6 #6736C6
monochromatic
#665A1C #968529 #C6AF36 #D5C364 #E2D694
Accessibility & contrast
On white
2.19
#C6AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#C6AF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AF36
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AF36 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB22
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#D6A297
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c6af36; /* rgb */ color: rgb(198, 175, 54); /* oklch */ color: oklch(75.3% 0.137 98.1);
Tailwind
colors: {
custom: {
50: '#dbc675',
500: '#c6af36',
950: '#000000',
},
}SCSS
$custom: #c6af36; $custom-light: #dbc675; $custom-dark: #000000;
JSON
{
"hex": "#c6af36",
"rgb": {
"r": 198,
"g": 175,
"b": 54
},
"hsl": {
"h": 50.417,
"s": 57.143,
"l": 49.412
},
"oklch": {
"l": 0.75281,
"c": 0.13747,
"h": 98.1
},
"luminance": 0.42932
}Semantic roles & 50–950 ramp
primary
#C6AF36
secondary
#8B95CD
accent
#60E047
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151309
muted
#84827B