#C6AA38#C6AA38
#C6AA38 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.133 H 94.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AA38 |
|---|---|
| RGB | rgb(198, 170, 56) |
| HSL | hsl(48, 56%, 50%) |
| HSV | hsv(48, 72%, 78%) |
| CMYK | cmyk(0%, 14.1%, 71.7%, 22.4%) |
| CIE-LAB | lab(70.21, -2.01, 59.49) |
| CIE-LCH | lch(70.21, 59.52, 91.94°) |
| OKLab | oklab(74.25% -0.0114 0.1321) |
| OKLCH | oklch(74.25% 0.133 94.9) |
| XYZ | xyz(38.3792, 41.0428, 9.6412) |
| Luminance | 0.4104 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.11
Muddy Yellow
#BFAC05
ΔE00 4.27
Mustard (survey)
#CEB301
ΔE00 4.63
Mustard
#DBB42C
ΔE00 4.68
Burnt Yellow
#D5AB09
ΔE00 4.72
Ocher
#BF9B0C
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AA38 #3854C6
analogous
#C66338 #C6AA38 #9BC638
triadic
#C6AA38 #38C6AA #AA38C6
tetradic
#C6AA38 #38C663 #3854C6 #C6389B
square
#C6AA38 #38C663 #3854C6 #C6389B
split-complementary
#C6AA38 #389BC6 #6338C6
monochromatic
#67581D #96812B #C6AA38 #D4BF67 #E2D397
Accessibility & contrast
On white
2.28
#C6AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#C6AA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AA38
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AA38 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#D69D93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c6aa38; /* rgb */ color: rgb(198, 170, 56); /* oklch */ color: oklch(74.3% 0.133 94.9);
Tailwind
colors: {
custom: {
50: '#dbc276',
500: '#c6aa38',
950: '#000000',
},
}SCSS
$custom: #c6aa38; $custom-light: #dbc276; $custom-dark: #000000;
JSON
{
"hex": "#c6aa38",
"rgb": {
"r": 198,
"g": 170,
"b": 56
},
"hsl": {
"h": 48.169,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.74253,
"c": 0.13263,
"h": 94.9
},
"luminance": 0.41041
}Semantic roles & 50–950 ramp
primary
#C6AA38
secondary
#8D99CD
accent
#66DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151209
muted
#84817B