#CFD17C#CFD17C
#CFD17C is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.108 H 109.7°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD17C |
|---|---|
| RGB | rgb(207, 209, 124) |
| HSL | hsl(61, 48%, 65%) |
| HSV | hsv(61, 41%, 82%) |
| CMYK | cmyk(1%, 0%, 40.7%, 18%) |
| CIE-LAB | lab(82.01, -13.08, 41.87) |
| CIE-LCH | lch(82.01, 43.86, 107.35°) |
| OKLab | oklab(84.04% -0.0363 0.1015) |
| OKLCH | oklch(84.04% 0.108 109.7) |
| XYZ | xyz(52.1714, 60.3226, 27.9600) |
| Luminance | 0.6032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 1.59
Greenish Tan
#BCCB7A
ΔE00 4.09
Pale Olive
#B9CC81
ΔE00 5.37
Khaki (CSS)
#F0E68C
ΔE00 6.26
Darkkhaki
#BDB76B
ΔE00 6.67
Light Olive
#ACBF69
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD17C #7E7CD1
analogous
#D1A97C #CFD17C #A4D17C
triadic
#CFD17C #7CCFD1 #D17CCF
tetradic
#CFD17C #7CD1A9 #7E7CD1 #D17CA4
square
#CFD17C #7CD1A9 #7E7CD1 #D17CA4
split-complementary
#CFD17C #7CA4D1 #A97CD1
monochromatic
#999C37 #BEC14F #CFD17C #E0E1A9 #F0F1D7
Accessibility & contrast
On white
1.61
#CFD17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.06
#CFD17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD17C
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD17C | 1.00 | 1.61 | 13.06 | 13.06 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDCA75
Deuteranopia (green-blind)
#DECD80
Tritanopia (blue-blind)
#DAC7BC
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cfd17c; /* rgb */ color: rgb(207, 209, 124); /* oklch */ color: oklch(84.0% 0.108 109.7);
Tailwind
colors: {
custom: {
50: '#dfdfa3',
500: '#cfd17c',
950: '#000000',
},
}SCSS
$custom: #cfd17c; $custom-light: #dfdfa3; $custom-dark: #000000;
JSON
{
"hex": "#cfd17c",
"rgb": {
"r": 207,
"g": 209,
"b": 124
},
"hsl": {
"h": 61.412,
"s": 48.023,
"l": 65.294
},
"oklch": {
"l": 0.84036,
"c": 0.10783,
"h": 109.7
},
"luminance": 0.60322
}Semantic roles & 50–950 ramp
primary
#CFD17C
secondary
#5250A1
accent
#2ABB2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480