#CFD07C#CFD07C
#CFD07C is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.107 H 109.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD07C |
|---|---|
| RGB | rgb(207, 208, 124) |
| HSL | hsl(61, 47%, 65%) |
| HSV | hsv(61, 40%, 82%) |
| CMYK | cmyk(0.5%, 0%, 40.4%, 18.4%) |
| CIE-LAB | lab(81.75, -12.58, 41.53) |
| CIE-LCH | lch(81.75, 43.39, 106.85°) |
| OKLab | oklab(83.83% -0.0349 0.1008) |
| OKLCH | oklch(83.83% 0.107 109.1) |
| XYZ | xyz(51.9268, 59.8334, 27.8785) |
| Luminance | 0.5983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 1.84
Greenish Tan
#BCCB7A
ΔE00 4.19
Pale Olive
#B9CC81
ΔE00 5.47
Khaki (CSS)
#F0E68C
ΔE00 6.32
Darkkhaki
#BDB76B
ΔE00 6.39
Light Olive
#ACBF69
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD07C #7D7CD0
analogous
#D0A77C #CFD07C #A5D07C
triadic
#CFD07C #7CCFD0 #D07CCF
tetradic
#CFD07C #7CD0A7 #7D7CD0 #D07CA5
square
#CFD07C #7CD0A7 #7D7CD0 #D07CA5
split-complementary
#CFD07C #7CA5D0 #A77CD0
monochromatic
#999A37 #BEC04F #CFD07C #E0E0A9 #F0F0D6
Accessibility & contrast
On white
1.62
#CFD07C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.97
#CFD07C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD07C
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD07C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD07C | 1.00 | 1.62 | 12.97 | 12.97 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCCA75
Deuteranopia (green-blind)
#DDCD80
Tritanopia (blue-blind)
#DAC7BC
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #cfd07c; /* rgb */ color: rgb(207, 208, 124); /* oklch */ color: oklch(83.8% 0.107 109.1);
Tailwind
colors: {
custom: {
50: '#dfdea3',
500: '#cfd07c',
950: '#000000',
},
}SCSS
$custom: #cfd07c; $custom-light: #dfdea3; $custom-dark: #000000;
JSON
{
"hex": "#cfd07c",
"rgb": {
"r": 207,
"g": 208,
"b": 124
},
"hsl": {
"h": 60.714,
"s": 47.191,
"l": 65.098
},
"oklch": {
"l": 0.83825,
"c": 0.10663,
"h": 109.1
},
"luminance": 0.59832
}Semantic roles & 50–950 ramp
primary
#CFD07C
secondary
#5150A0
accent
#2BBA2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480