#CFD272#CFD272
#CFD272 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.120 H 110.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD272 |
|---|---|
| RGB | rgb(207, 210, 114) |
| HSL | hsl(62, 52%, 64%) |
| HSV | hsv(62, 46%, 82%) |
| CMYK | cmyk(1.4%, 0%, 45.7%, 17.6%) |
| CIE-LAB | lab(82.15, -14.60, 46.95) |
| CIE-LCH | lch(82.15, 49.17, 107.27°) |
| OKLab | oklab(84.1% -0.0415 0.1123) |
| OKLCH | oklch(84.1% 0.12 110.3) |
| XYZ | xyz(51.8169, 60.5745, 24.8788) |
| Luminance | 0.6057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.00
Greenish Tan
#BCCB7A
ΔE00 4.77
Pale Olive
#B9CC81
ΔE00 6.23
Khaki (CSS)
#F0E68C
ΔE00 6.27
Light Olive
#ACBF69
ΔE00 7.15
Darkkhaki
#BDB76B
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD272 #7572D2
analogous
#D2A572 #CFD272 #9FD272
triadic
#CFD272 #72CFD2 #D272CF
tetradic
#CFD272 #72D2A5 #7572D2 #D2729F
square
#CFD272 #72D2A5 #7572D2 #D2729F
split-complementary
#CFD272 #729FD2 #A572D2
monochromatic
#969931 #BFC344 #CFD272 #DFE1A0 #EFF0CF
Accessibility & contrast
On white
1.60
#CFD272 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.11
#CFD272 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD272
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD272 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD272 | 1.00 | 1.60 | 13.11 | 13.11 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCB6A
Deuteranopia (green-blind)
#E0CE77
Tritanopia (blue-blind)
#DAC8BB
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cfd272; /* rgb */ color: rgb(207, 210, 114); /* oklch */ color: oklch(84.1% 0.120 110.3);
Tailwind
colors: {
custom: {
50: '#dfdf9c',
500: '#cfd272',
950: '#000000',
},
}SCSS
$custom: #cfd272; $custom-light: #dfdf9c; $custom-dark: #000000;
JSON
{
"hex": "#cfd272",
"rgb": {
"r": 207,
"g": 210,
"b": 114
},
"hsl": {
"h": 61.875,
"s": 51.613,
"l": 63.529
},
"oklch": {
"l": 0.84103,
"c": 0.11968,
"h": 110.3
},
"luminance": 0.60573
}Semantic roles & 50–950 ramp
primary
#CFD272
secondary
#4D4A9E
accent
#26BF2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F