#CFC273#CFC273
#CFC273 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.101 H 100.1°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC273 |
|---|---|
| RGB | rgb(207, 194, 115) |
| HSL | hsl(52, 49%, 63%) |
| HSV | hsv(52, 44%, 81%) |
| CMYK | cmyk(0%, 6.3%, 44.4%, 18.8%) |
| CIE-LAB | lab(77.93, -6.36, 41.25) |
| CIE-LCH | lch(77.93, 41.74, 98.76°) |
| OKLab | oklab(80.75% -0.0178 0.0996) |
| OKLCH | oklch(80.75% 0.101 100.1) |
| XYZ | xyz(48.1196, 53.0883, 23.9286) |
| Luminance | 0.5309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.85
Sand (survey)
#E2CA76
ΔE00 4.07
Greenish Beige
#C9D179
ΔE00 6.43
Sand
#C2B280
ΔE00 7.01
Tan (survey)
#D1B26F
ΔE00 7.06
Sandy
#F1DA7A
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC273 #7380CF
analogous
#CF9473 #CFC273 #AECF73
triadic
#CFC273 #73CFC2 #C273CF
tetradic
#CFC273 #73CF94 #7380CF #CF73AE
square
#CFC273 #73CF94 #7380CF #CF73AE
split-complementary
#CFC273 #73AECF #9473CF
monochromatic
#958733 #BFAE45 #CFC273 #DFD6A1 #EEEACE
Accessibility & contrast
On white
1.81
#CFC273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#CFC273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC273
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC273 | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE6D
Deuteranopia (green-blind)
#D3C376
Tritanopia (blue-blind)
#DBB8AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc273; /* rgb */ color: rgb(207, 194, 115); /* oklch */ color: oklch(80.8% 0.101 100.1);
Tailwind
colors: {
custom: {
50: '#dfd49c',
500: '#cfc273',
950: '#000000',
},
}SCSS
$custom: #cfc273; $custom-light: #dfd49c; $custom-dark: #000000;
JSON
{
"hex": "#cfc273",
"rgb": {
"r": 207,
"g": 194,
"b": 115
},
"hsl": {
"h": 51.522,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.80752,
"c": 0.10118,
"h": 100.1
},
"luminance": 0.53087
}Semantic roles & 50–950 ramp
primary
#CFC273
secondary
#4C579B
accent
#3EBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F