#C2AB3D#C2AB3D
#C2AB3D is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.130 H 97.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB3D |
|---|---|
| RGB | rgb(194, 171, 61) |
| HSL | hsl(50, 52%, 50%) |
| HSV | hsv(50, 69%, 76%) |
| CMYK | cmyk(0%, 11.9%, 68.6%, 23.9%) |
| CIE-LAB | lab(70.13, -4.02, 57.28) |
| CIE-LCH | lch(70.13, 57.42, 94.02°) |
| OKLab | oklab(74.12% -0.0163 0.1285) |
| OKLCH | oklch(74.12% 0.13 97.2) |
| XYZ | xyz(37.6551, 40.9339, 10.3316) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.99
Brownish Yellow
#C9B003
ΔE00 4.39
Mustard (survey)
#CEB301
ΔE00 5.04
Mustard
#DBB42C
ΔE00 5.77
Dark Yellow
#D5B60A
ΔE00 5.78
Desert
#CCAD60
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB3D #3D54C2
analogous
#C2683D #C2AB3D #97C23D
triadic
#C2AB3D #3DC2AB #AB3DC2
tetradic
#C2AB3D #3DC268 #3D54C2 #C23D97
square
#C2AB3D #3DC268 #3D54C2 #C23D97
split-complementary
#C2AB3D #3D97C2 #683DC2
monochromatic
#655920 #93822E #C2AB3D #D1BF6C #DFD39A
Accessibility & contrast
On white
2.29
#C2AB3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#C2AB3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB3D
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB3D | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab3d; /* rgb */ color: rgb(194, 171, 61); /* oklch */ color: oklch(74.1% 0.130 97.2);
Tailwind
colors: {
custom: {
50: '#d8c379',
500: '#c2ab3d',
950: '#000000',
},
}SCSS
$custom: #c2ab3d; $custom-light: #d8c379; $custom-dark: #000000;
JSON
{
"hex": "#c2ab3d",
"rgb": {
"r": 194,
"g": 171,
"b": 61
},
"hsl": {
"h": 49.624,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.74116,
"c": 0.12953,
"h": 97.2
},
"luminance": 0.40932
}Semantic roles & 50–950 ramp
primary
#C2AB3D
secondary
#909ACB
accent
#65DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B