#C0CF48#C0CF48
#C0CF48 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.157 H 115.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CF48 |
|---|---|
| RGB | rgb(192, 207, 72) |
| HSL | hsl(67, 58%, 55%) |
| HSV | hsv(67, 65%, 81%) |
| CMYK | cmyk(7.2%, 0%, 65.2%, 18.8%) |
| CIE-LAB | lab(79.78, -22.53, 62.74) |
| CIE-LCH | lch(79.78, 66.67, 109.75°) |
| OKLab | oklab(81.8% -0.0673 0.1418) |
| OKLCH | oklch(81.8% 0.157 115.4) |
| XYZ | xyz(45.2218, 56.3007, 14.6145) |
| Luminance | 0.5630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.80
Baby Puke Green
#B6C406
ΔE00 4.39
Bile
#B5C306
ΔE00 4.52
Pea
#A4BF20
ΔE00 5.42
Snot
#ACBB0D
ΔE00 5.82
Gross Green
#A0BF16
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CF48 #5748CF
analogous
#CF9B48 #C0CF48 #7CCF48
triadic
#C0CF48 #48C0CF #CF48C0
tetradic
#C0CF48 #48CF9B #5748CF #CF487C
square
#C0CF48 #48CF9B #5748CF #CF487C
split-complementary
#C0CF48 #487CCF #9B48CF
monochromatic
#727C21 #9EAD2D #C0CF48 #D1DC78 #E1E8A9
Accessibility & contrast
On white
1.71
#C0CF48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.26
#C0CF48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CF48
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CF48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CF48 | 1.00 | 1.71 | 12.26 | 12.26 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC535
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#CCC4B3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c0cf48; /* rgb */ color: rgb(192, 207, 72); /* oklch */ color: oklch(81.8% 0.157 115.4);
Tailwind
colors: {
custom: {
50: '#d6dd82',
500: '#c0cf48',
950: '#000000',
},
}SCSS
$custom: #c0cf48; $custom-light: #d6dd82; $custom-dark: #000000;
JSON
{
"hex": "#c0cf48",
"rgb": {
"r": 192,
"g": 207,
"b": 72
},
"hsl": {
"h": 66.667,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.81798,
"c": 0.15698,
"h": 115.4
},
"luminance": 0.563
}Semantic roles & 50–950 ramp
primary
#C0CF48
secondary
#403784
accent
#46E257
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E