#CFC67F#CFC67F
#CFC67F is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.092 H 102.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC67F |
|---|---|
| RGB | rgb(207, 198, 127) |
| HSL | hsl(53, 45%, 65%) |
| HSV | hsv(53, 39%, 81%) |
| CMYK | cmyk(0%, 4.3%, 38.6%, 18.8%) |
| CIE-LAB | lab(79.15, -7.15, 36.71) |
| CIE-LCH | lch(79.15, 37.40, 101.02°) |
| OKLab | oklab(81.78% -0.019 0.0899) |
| OKLCH | oklch(81.78% 0.092 102) |
| XYZ | xyz(49.7578, 55.1872, 28.1056) |
| Luminance | 0.5519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.35
Sand (survey)
#E2CA76
ΔE00 5.05
Greenish Beige
#C9D179
ΔE00 5.52
Greenish Tan
#BCCB7A
ΔE00 6.59
Beige (survey)
#E6DAA6
ΔE00 6.72
Sand
#C2B280
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC67F #7F88CF
analogous
#CF9E7F #CFC67F #B0CF7F
triadic
#CFC67F #7FCFC6 #C67FCF
tetradic
#CFC67F #7FCF9E #7F88CF #CF7FB0
square
#CFC67F #7FCF9E #7F88CF #CF7FB0
split-complementary
#CFC67F #7FB0CF #9E7FCF
monochromatic
#9A8F3A #BEB252 #CFC67F #E0DAAC #F0EED8
Accessibility & contrast
On white
1.74
#CFC67F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#CFC67F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC67F
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC67F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC67F | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C27A
Deuteranopia (green-blind)
#D5C682
Tritanopia (blue-blind)
#DABDB4
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc67f; /* rgb */ color: rgb(207, 198, 127); /* oklch */ color: oklch(81.8% 0.092 102.0);
Tailwind
colors: {
custom: {
50: '#dfd7a5',
500: '#cfc67f',
950: '#000000',
},
}SCSS
$custom: #cfc67f; $custom-light: #dfd7a5; $custom-dark: #000000;
JSON
{
"hex": "#cfc67f",
"rgb": {
"r": 207,
"g": 198,
"b": 127
},
"hsl": {
"h": 53.25,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.81776,
"c": 0.09194,
"h": 102
},
"luminance": 0.55186
}Semantic roles & 50–950 ramp
primary
#CFC67F
secondary
#535BA0
accent
#3DB92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380