#CFC07B#CFC07B
#CFC07B is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.090 H 97.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC07B |
|---|---|
| RGB | rgb(207, 192, 123) |
| HSL | hsl(49, 47%, 65%) |
| HSV | hsv(49, 41%, 81%) |
| CMYK | cmyk(0%, 7.2%, 40.6%, 18.8%) |
| CIE-LAB | lab(77.52, -4.48, 36.66) |
| CIE-LCH | lch(77.52, 36.94, 96.97°) |
| OKLab | oklab(80.47% -0.0117 0.0896) |
| OKLCH | oklch(80.47% 0.09 97.4) |
| XYZ | xyz(48.1579, 52.3963, 26.3118) |
| Luminance | 0.5240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.22
Sand (survey)
#E2CA76
ΔE00 4.45
Sand
#C2B280
ΔE00 5.30
Tan (survey)
#D1B26F
ΔE00 5.86
Sandstone
#C9AE74
ΔE00 6.28
Desert
#CCAD60
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC07B #7B8ACF
analogous
#CF967B #CFC07B #B4CF7B
triadic
#CFC07B #7BCFC0 #C07BCF
tetradic
#CFC07B #7BCF96 #7B8ACF #CF7BB4
square
#CFC07B #7BCF96 #7B8ACF #CF7BB4
split-complementary
#CFC07B #7BB4CF #967BCF
monochromatic
#988737 #BFAB4E #CFC07B #DFD5A8 #F0EBD5
Accessibility & contrast
On white
1.83
#CFC07B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#CFC07B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC07B
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC07B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC07B | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC76
Deuteranopia (green-blind)
#D1C27E
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc07b; /* rgb */ color: rgb(207, 192, 123); /* oklch */ color: oklch(80.5% 0.090 97.4);
Tailwind
colors: {
custom: {
50: '#dfd2a2',
500: '#cfc07b',
950: '#000000',
},
}SCSS
$custom: #cfc07b; $custom-light: #dfd2a2; $custom-dark: #000000;
JSON
{
"hex": "#cfc07b",
"rgb": {
"r": 207,
"g": 192,
"b": 123
},
"hsl": {
"h": 49.286,
"s": 46.667,
"l": 64.706
},
"oklch": {
"l": 0.80465,
"c": 0.09041,
"h": 97.4
},
"luminance": 0.52395
}Semantic roles & 50–950 ramp
primary
#CFC07B
secondary
#505E9E
accent
#45BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380