#CFC46B#CFC46B
#CFC46B is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.112 H 102.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC46B |
|---|---|
| RGB | rgb(207, 196, 107) |
| HSL | hsl(53, 51%, 62%) |
| HSV | hsv(53, 48%, 81%) |
| CMYK | cmyk(0%, 5.3%, 48.3%, 18.8%) |
| CIE-LAB | lab(78.35, -8.16, 45.74) |
| CIE-LCH | lch(78.35, 46.47, 100.11°) |
| OKLab | oklab(81.05% -0.0237 0.1091) |
| OKLCH | oklch(81.05% 0.112 102.3) |
| XYZ | xyz(48.1272, 53.8083, 21.7580) |
| Luminance | 0.5381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.35
Sand (survey)
#E2CA76
ΔE00 4.45
Greenish Beige
#C9D179
ΔE00 5.72
Sandy
#F1DA7A
ΔE00 6.68
Greenish Tan
#BCCB7A
ΔE00 7.36
Dull Yellow
#EEDC5B
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC46B #6B76CF
analogous
#CF926B #CFC46B #A8CF6B
triadic
#CFC46B #6BCFC4 #C46BCF
tetradic
#CFC46B #6BCF92 #6B76CF #CF6BA8
square
#CFC46B #6BCF92 #6B76CF #CF6BA8
split-complementary
#CFC46B #6BA8CF #926BCF
monochromatic
#91862F #BFB13E #CFC46B #DED699 #EDE9C7
Accessibility & contrast
On white
1.79
#CFC46B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#CFC46B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC46B
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC46B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC46B | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BF63
Deuteranopia (green-blind)
#D6C46F
Tritanopia (blue-blind)
#DCB9AF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc46b; /* rgb */ color: rgb(207, 196, 107); /* oklch */ color: oklch(81.1% 0.112 102.3);
Tailwind
colors: {
custom: {
50: '#dfd597',
500: '#cfc46b',
950: '#000000',
},
}SCSS
$custom: #cfc46b; $custom-light: #dfd597; $custom-dark: #000000;
JSON
{
"hex": "#cfc46b",
"rgb": {
"r": 207,
"g": 196,
"b": 107
},
"hsl": {
"h": 53.4,
"s": 51.02,
"l": 61.569
},
"oklch": {
"l": 0.81054,
"c": 0.1116,
"h": 102.3
},
"luminance": 0.53807
}Semantic roles & 50–950 ramp
primary
#CFC46B
secondary
#475097
accent
#38BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F