#CFD173#CFD173
#CFD173 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.117 H 109.8°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD173 |
|---|---|
| RGB | rgb(207, 209, 115) |
| HSL | hsl(61, 51%, 64%) |
| HSV | hsv(61, 45%, 82%) |
| CMYK | cmyk(1%, 0%, 45%, 18%) |
| CIE-LAB | lab(81.90, -14.00, 46.16) |
| CIE-LCH | lch(81.90, 48.23, 106.87°) |
| OKLab | oklab(83.9% -0.0397 0.1106) |
| OKLCH | oklch(83.9% 0.117 109.8) |
| XYZ | xyz(51.6280, 60.1052, 25.0981) |
| Luminance | 0.6010 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 1.98
Greenish Tan
#BCCB7A
ΔE00 4.71
Pale Olive
#B9CC81
ΔE00 6.18
Khaki (CSS)
#F0E68C
ΔE00 6.27
Darkkhaki
#BDB76B
ΔE00 6.95
Light Olive
#ACBF69
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD173 #7573D1
analogous
#D1A473 #CFD173 #A0D173
triadic
#CFD173 #73CFD1 #D173CF
tetradic
#CFD173 #73D1A4 #7573D1 #D173A0
square
#CFD173 #73D1A4 #7573D1 #D173A0
split-complementary
#CFD173 #73A0D1 #A473D1
monochromatic
#969832 #BFC245 #CFD173 #DFE0A1 #EFEFCF
Accessibility & contrast
On white
1.61
#CFD173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.02
#CFD173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD173
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD173 | 1.00 | 1.61 | 13.02 | 13.02 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DECA6B
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#DAC7BB
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cfd173; /* rgb */ color: rgb(207, 209, 115); /* oklch */ color: oklch(83.9% 0.117 109.8);
Tailwind
colors: {
custom: {
50: '#dfdf9d',
500: '#cfd173',
950: '#000000',
},
}SCSS
$custom: #cfd173; $custom-light: #dfdf9d; $custom-dark: #000000;
JSON
{
"hex": "#cfd173",
"rgb": {
"r": 207,
"g": 209,
"b": 115
},
"hsl": {
"h": 61.277,
"s": 50.538,
"l": 63.529
},
"oklch": {
"l": 0.83904,
"c": 0.11748,
"h": 109.8
},
"luminance": 0.60104
}Semantic roles & 50–950 ramp
primary
#CFD173
secondary
#4D4B9D
accent
#28BE2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F