#CFD279#CFD279
#CFD279 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.112 H 110.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD279 |
|---|---|
| RGB | rgb(207, 210, 121) |
| HSL | hsl(62, 50%, 65%) |
| HSV | hsv(62, 42%, 82%) |
| CMYK | cmyk(1.4%, 0%, 42.4%, 17.6%) |
| CIE-LAB | lab(82.24, -13.90, 43.64) |
| CIE-LCH | lch(82.24, 45.80, 107.67°) |
| OKLab | oklab(84.2% -0.0389 0.1053) |
| OKLCH | oklch(84.2% 0.112 110.3) |
| XYZ | xyz(52.2307, 60.7401, 27.0580) |
| Luminance | 0.6074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 1.41
Greenish Tan
#BCCB7A
ΔE00 4.20
Pale Olive
#B9CC81
ΔE00 5.55
Khaki (CSS)
#F0E68C
ΔE00 6.20
Light Olive
#ACBF69
ΔE00 6.94
Darkkhaki
#BDB76B
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD279 #7C79D2
analogous
#D2A879 #CFD279 #A3D279
triadic
#CFD279 #79CFD2 #D279CF
tetradic
#CFD279 #79D2A8 #7C79D2 #D279A3
square
#CFD279 #79D2A8 #7C79D2 #D279A3
split-complementary
#CFD279 #79A3D2 #A879D2
monochromatic
#999C34 #BFC34B #CFD279 #DFE1A7 #F0F1D5
Accessibility & contrast
On white
1.60
#CFD279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.15
#CFD279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD279
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD279 | 1.00 | 1.60 | 13.15 | 13.15 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCB72
Deuteranopia (green-blind)
#DFCE7D
Tritanopia (blue-blind)
#DAC8BD
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #cfd279; /* rgb */ color: rgb(207, 210, 121); /* oklch */ color: oklch(84.2% 0.112 110.3);
Tailwind
colors: {
custom: {
50: '#dfdfa1',
500: '#cfd279',
950: '#000000',
},
}SCSS
$custom: #cfd279; $custom-light: #dfdfa1; $custom-dark: #000000;
JSON
{
"hex": "#cfd279",
"rgb": {
"r": 207,
"g": 210,
"b": 121
},
"hsl": {
"h": 62.022,
"s": 49.721,
"l": 64.902
},
"oklch": {
"l": 0.84203,
"c": 0.11228,
"h": 110.3
},
"luminance": 0.60739
}Semantic roles & 50–950 ramp
primary
#CFD279
secondary
#514EA1
accent
#28BD2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480