#C6AF2B#C6AF2B
#C6AF2B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.144 H 98.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AF2B |
|---|---|
| RGB | rgb(198, 175, 43) |
| HSL | hsl(51, 64%, 47%) |
| HSV | hsv(51, 78%, 78%) |
| CMYK | cmyk(0%, 11.6%, 78.3%, 22.4%) |
| CIE-LAB | lab(71.45, -5.20, 65.30) |
| CIE-LCH | lch(71.45, 65.51, 94.56°) |
| OKLab | oklab(75.21% -0.0217 0.142) |
| OKLCH | oklch(75.21% 0.144 98.7) |
| XYZ | xyz(39.0567, 42.8421, 8.4972) |
| Luminance | 0.4284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.10
Muddy Yellow
#BFAC05
ΔE00 2.26
Mustard (survey)
#CEB301
ΔE00 2.77
Dark Yellow
#D5B60A
ΔE00 3.75
Olive Yellow
#C2B709
ΔE00 4.15
Mustard Yellow
#D2BD0A
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AF2B #2B42C6
analogous
#C6622B #C6AF2B #8FC62B
triadic
#C6AF2B #2BC6AF #AF2BC6
tetradic
#C6AF2B #2BC662 #2B42C6 #C62B8F
square
#C6AF2B #2BC662 #2B42C6 #C62B8F
split-complementary
#C6AF2B #2B8FC6 #622BC6
monochromatic
#615615 #948320 #C6AF2B #DAC654 #E5D787
Accessibility & contrast
On white
2.19
#C6AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#C6AF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AF2B
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AF2B | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA09
Deuteranopia (green-blind)
#C7B235
Tritanopia (blue-blind)
#D6A196
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c6af2b; /* rgb */ color: rgb(198, 175, 43); /* oklch */ color: oklch(75.2% 0.144 98.7);
Tailwind
colors: {
custom: {
50: '#dcc670',
500: '#c6af2b',
950: '#000000',
},
}SCSS
$custom: #c6af2b; $custom-light: #dcc670; $custom-dark: #000000;
JSON
{
"hex": "#c6af2b",
"rgb": {
"r": 198,
"g": 175,
"b": 43
},
"hsl": {
"h": 51.097,
"s": 64.315,
"l": 47.255
},
"oklch": {
"l": 0.75212,
"c": 0.14365,
"h": 98.7
},
"luminance": 0.4284
}Semantic roles & 50–950 ramp
primary
#C6AF2B
secondary
#7F8ACE
accent
#59E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B