#CFC46F#CFC46F
#CFC46F is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.107 H 102.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC46F |
|---|---|
| RGB | rgb(207, 196, 111) |
| HSL | hsl(53, 50%, 62%) |
| HSV | hsv(53, 46%, 81%) |
| CMYK | cmyk(0%, 5.3%, 46.4%, 18.8%) |
| CIE-LAB | lab(78.40, -7.78, 43.83) |
| CIE-LCH | lch(78.40, 44.52, 100.06°) |
| OKLab | oklab(81.11% -0.0222 0.1051) |
| OKLCH | oklch(81.11% 0.107 102) |
| XYZ | xyz(48.3425, 53.8945, 22.8920) |
| Luminance | 0.5389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.12
Sand (survey)
#E2CA76
ΔE00 4.34
Greenish Beige
#C9D179
ΔE00 5.66
Sandy
#F1DA7A
ΔE00 6.75
Greenish Tan
#BCCB7A
ΔE00 7.20
Khaki (CSS)
#F0E68C
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC46F #6F7ACF
analogous
#CF946F #CFC46F #AACF6F
triadic
#CFC46F #6FCFC4 #C46FCF
tetradic
#CFC46F #6FCF94 #6F7ACF #CF6FAA
square
#CFC46F #6FCF94 #6F7ACF #CF6FAA
split-complementary
#CFC46F #6FAACF #946FCF
monochromatic
#938731 #C0B141 #CFC46F #DED79D #EEEACB
Accessibility & contrast
On white
1.78
#CFC46F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.78
#CFC46F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC46F
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC46F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC46F | 1.00 | 1.78 | 11.78 | 11.78 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BF68
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc46f; /* rgb */ color: rgb(207, 196, 111); /* oklch */ color: oklch(81.1% 0.107 102.0);
Tailwind
colors: {
custom: {
50: '#dfd59a',
500: '#cfc46f',
950: '#000000',
},
}SCSS
$custom: #cfc46f; $custom-light: #dfd59a; $custom-dark: #000000;
JSON
{
"hex": "#cfc46f",
"rgb": {
"r": 207,
"g": 196,
"b": 111
},
"hsl": {
"h": 53.125,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.8111,
"c": 0.10745,
"h": 102
},
"luminance": 0.53893
}Semantic roles & 50–950 ramp
primary
#CFC46F
secondary
#4A5399
accent
#39BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F