#C0BF4F#C0BF4F
#C0BF4F is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.4% C 0.134 H 108.7°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C0BF4F |
|---|---|
| RGB | rgb(192, 191, 79) |
| HSL | hsl(59, 47%, 53%) |
| HSV | hsv(59, 59%, 75%) |
| CMYK | cmyk(0%, 0.5%, 58.9%, 24.7%) |
| CIE-LAB | lab(75.47, -14.10, 55.21) |
| CIE-LCH | lch(75.47, 56.98, 104.33°) |
| OKLab | oklab(78.37% -0.0428 0.1269) |
| OKLCH | oklch(78.37% 0.134 108.7) |
| XYZ | xyz(41.7816, 49.0337, 14.6592) |
| Luminance | 0.4903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 5.12
Darkkhaki
#BDB76B
ΔE00 5.54
Vomit Yellow
#C7C10C
ΔE00 5.56
Snot
#ACBB0D
ΔE00 5.69
Bile
#B5C306
ΔE00 5.74
Baby Puke Green
#B6C406
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0BF4F #4F50C0
analogous
#C0864F #C0BF4F #88C04F
triadic
#C0BF4F #4FC0BF #BF4FC0
tetradic
#C0BF4F #4FC086 #4F50C0 #C04F88
square
#C0BF4F #4FC086 #4F50C0 #C04F88
split-complementary
#C0BF4F #4F88C0 #864FC0
monochromatic
#6D6D27 #9A9A37 #C0BF4F #D0CF7C #E0E0A9
Accessibility & contrast
On white
1.94
#C0BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.81
#C0BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0BF4F
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0BF4F | 1.00 | 1.94 | 10.81 | 10.81 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB842
Deuteranopia (green-blind)
#CFBC55
Tritanopia (blue-blind)
#CDB4A7
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #c0bf4f; /* rgb */ color: rgb(192, 191, 79); /* oklch */ color: oklch(78.4% 0.134 108.7);
Tailwind
colors: {
custom: {
50: '#d6d285',
500: '#c0bf4f',
950: '#000000',
},
}SCSS
$custom: #c0bf4f; $custom-light: #d6d285; $custom-dark: #000000;
JSON
{
"hex": "#c0bf4f",
"rgb": {
"r": 192,
"g": 191,
"b": 79
},
"hsl": {
"h": 59.469,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.78368,
"c": 0.1339,
"h": 108.7
},
"luminance": 0.49033
}Semantic roles & 50–950 ramp
primary
#C0BF4F
secondary
#9D9DCE
accent
#52D751
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C