#CFC155#CFC155
#CFC155 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.130 H 102.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC155 |
|---|---|
| RGB | rgb(207, 193, 85) |
| HSL | hsl(53, 56%, 57%) |
| HSV | hsv(53, 59%, 81%) |
| CMYK | cmyk(0%, 6.8%, 58.9%, 18.8%) |
| CIE-LAB | lab(77.32, -8.41, 54.93) |
| CIE-LCH | lch(77.32, 55.57, 98.71°) |
| OKLab | oklab(80.16% -0.0269 0.1267) |
| OKLCH | oklch(80.16% 0.13 102) |
| XYZ | xyz(46.4435, 52.0630, 16.1953) |
| Luminance | 0.5206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.50
Vomit Yellow
#C7C10C
ΔE00 5.73
Mustard Yellow
#D2BD0A
ΔE00 5.75
Olive Yellow
#C2B709
ΔE00 5.75
Puke Yellow
#C2BE0E
ΔE00 5.79
Ugly Yellow
#D0C101
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC155 #5563CF
analogous
#CF8455 #CFC155 #A0CF55
triadic
#CFC155 #55CFC1 #C155CF
tetradic
#CFC155 #55CF84 #5563CF #CF55A0
square
#CFC155 #55CF84 #5563CF #CF55A0
split-complementary
#CFC155 #55A0CF #8455CF
monochromatic
#847925 #B4A533 #CFC155 #DCD285 #EAE4B4
Accessibility & contrast
On white
1.84
#CFC155 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#CFC155 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC155
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC155 | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB49
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc155; /* rgb */ color: rgb(207, 193, 85); /* oklch */ color: oklch(80.2% 0.130 102.0);
Tailwind
colors: {
custom: {
50: '#e0d389',
500: '#cfc155',
950: '#000000',
},
}SCSS
$custom: #cfc155; $custom-light: #e0d389; $custom-dark: #000000;
JSON
{
"hex": "#cfc155",
"rgb": {
"r": 207,
"g": 193,
"b": 85
},
"hsl": {
"h": 53.115,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.80158,
"c": 0.12953,
"h": 102
},
"luminance": 0.52061
}Semantic roles & 50–950 ramp
primary
#CFC155
secondary
#3D468B
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F