#CFC07F#CFC07F
#CFC07F is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.086 H 96.7°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC07F |
|---|---|
| RGB | rgb(207, 192, 127) |
| HSL | hsl(49, 45%, 65%) |
| HSV | hsv(49, 39%, 81%) |
| CMYK | cmyk(0%, 7.2%, 38.6%, 18.8%) |
| CIE-LAB | lab(77.58, -4.04, 34.68) |
| CIE-LCH | lch(77.58, 34.91, 96.65°) |
| OKLab | oklab(80.53% -0.0101 0.0853) |
| OKLCH | oklch(80.53% 0.086 96.7) |
| XYZ | xyz(48.4135, 52.4985, 27.6575) |
| Luminance | 0.5250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.60
Sand
#C2B280
ΔE00 4.77
Sand (survey)
#E2CA76
ΔE00 4.87
Tan (survey)
#D1B26F
ΔE00 5.79
Sandstone
#C9AE74
ΔE00 6.01
Very Light Brown
#D3B683
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC07F #7F8ECF
analogous
#CF987F #CFC07F #B6CF7F
triadic
#CFC07F #7FCFC0 #C07FCF
tetradic
#CFC07F #7FCF98 #7F8ECF #CF7FB6
square
#CFC07F #7FCF98 #7F8ECF #CF7FB6
split-complementary
#CFC07F #7FB6CF #987FCF
monochromatic
#9A883A #BEAA52 #CFC07F #E0D6AC #F0ECD8
Accessibility & contrast
On white
1.83
#CFC07F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#CFC07F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC07F
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC07F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC07F | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBD7A
Deuteranopia (green-blind)
#D1C281
Tritanopia (blue-blind)
#DBB7B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc07f; /* rgb */ color: rgb(207, 192, 127); /* oklch */ color: oklch(80.5% 0.086 96.7);
Tailwind
colors: {
custom: {
50: '#dfd2a5',
500: '#cfc07f',
950: '#000000',
},
}SCSS
$custom: #cfc07f; $custom-light: #dfd2a5; $custom-dark: #000000;
JSON
{
"hex": "#cfc07f",
"rgb": {
"r": 207,
"g": 192,
"b": 127
},
"hsl": {
"h": 48.75,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.80533,
"c": 0.08586,
"h": 96.7
},
"luminance": 0.52497
}Semantic roles & 50–950 ramp
primary
#CFC07F
secondary
#5361A0
accent
#47B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380