#C0AD2F#C0AD2F
#C0AD2F is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.2% C 0.140 H 100.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AD2F |
|---|---|
| RGB | rgb(192, 173, 47) |
| HSL | hsl(52, 61%, 47%) |
| HSV | hsv(52, 76%, 75%) |
| CMYK | cmyk(0%, 9.9%, 75.5%, 24.7%) |
| CIE-LAB | lab(70.39, -6.63, 62.79) |
| CIE-LCH | lch(70.39, 63.14, 96.02°) |
| OKLab | oklab(74.25% -0.0251 0.1377) |
| OKLCH | oklch(74.25% 0.14 100.3) |
| XYZ | xyz(37.1967, 41.3006, 8.7013) |
| Luminance | 0.4130 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.25
Brownish Yellow
#C9B003
ΔE00 3.20
Mustard (survey)
#CEB301
ΔE00 4.03
Olive Yellow
#C2B709
ΔE00 4.13
Dark Yellow
#D5B60A
ΔE00 5.12
Mustard Yellow
#D2BD0A
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AD2F #2F42C0
analogous
#C0652F #C0AD2F #8BC02F
triadic
#C0AD2F #2FC0AD #AD2FC0
tetradic
#C0AD2F #2FC065 #2F42C0 #C02F8B
square
#C0AD2F #2FC065 #2F42C0 #C02F8B
split-complementary
#C0AD2F #2F8BC0 #652FC0
monochromatic
#5E5417 #8F8123 #C0AD2F #D6C556 #E2D688
Accessibility & contrast
On white
2.27
#C0AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#C0AD2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AD2F
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AD2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AD2F | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA815
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#CFA095
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c0ad2f; /* rgb */ color: rgb(192, 173, 47); /* oklch */ color: oklch(74.2% 0.140 100.3);
Tailwind
colors: {
custom: {
50: '#d7c571',
500: '#c0ad2f',
950: '#000000',
},
}SCSS
$custom: #c0ad2f; $custom-light: #d7c571; $custom-dark: #000000;
JSON
{
"hex": "#c0ad2f",
"rgb": {
"r": 192,
"g": 173,
"b": 47
},
"hsl": {
"h": 52.138,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.74246,
"c": 0.13994,
"h": 100.3
},
"luminance": 0.41299
}Semantic roles & 50–950 ramp
primary
#C0AD2F
secondary
#7F89CB
accent
#59E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B