#CFC268#CFC268
#CFC268 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.113 H 101.2°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC268 |
|---|---|
| RGB | rgb(207, 194, 104) |
| HSL | hsl(52, 52%, 61%) |
| HSV | hsv(52, 50%, 81%) |
| CMYK | cmyk(0%, 6.3%, 49.8%, 18.8%) |
| CIE-LAB | lab(77.79, -7.40, 46.53) |
| CIE-LCH | lch(77.79, 47.12, 99.04°) |
| OKLab | oklab(80.6% -0.0219 0.1105) |
| OKLCH | oklch(80.6% 0.113 101.2) |
| XYZ | xyz(47.5240, 52.8501, 20.7917) |
| Luminance | 0.5285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.26
Darkkhaki
#BDB76B
ΔE00 4.35
Greenish Beige
#C9D179
ΔE00 6.44
Sandy
#F1DA7A
ΔE00 6.78
Desert
#CCAD60
ΔE00 7.61
Tan (survey)
#D1B26F
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC268 #6875CF
analogous
#CF8E68 #CFC268 #A8CF68
triadic
#CFC268 #68CFC2 #C268CF
tetradic
#CFC268 #68CF8E #6875CF #CF68A8
square
#CFC268 #68CF8E #6875CF #CF68A8
split-complementary
#CFC268 #68A8CF #8E68CF
monochromatic
#8F832D #BEAD3C #CFC268 #DED596 #EDE8C5
Accessibility & contrast
On white
1.82
#CFC268 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#CFC268 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC268
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC268 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC268 | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#DCB7AD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc268; /* rgb */ color: rgb(207, 194, 104); /* oklch */ color: oklch(80.6% 0.113 101.2);
Tailwind
colors: {
custom: {
50: '#e0d495',
500: '#cfc268',
950: '#000000',
},
}SCSS
$custom: #cfc268; $custom-light: #e0d495; $custom-dark: #000000;
JSON
{
"hex": "#cfc268",
"rgb": {
"r": 207,
"g": 194,
"b": 104
},
"hsl": {
"h": 52.427,
"s": 51.759,
"l": 60.98
},
"oklch": {
"l": 0.80595,
"c": 0.11267,
"h": 101.2
},
"luminance": 0.52848
}Semantic roles & 50–950 ramp
primary
#CFC268
secondary
#465095
accent
#3ABF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F