#CFD273#CFD273
#CFD273 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.119 H 110.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD273 |
|---|---|
| RGB | rgb(207, 210, 115) |
| HSL | hsl(62, 51%, 64%) |
| HSV | hsv(62, 45%, 82%) |
| CMYK | cmyk(1.4%, 0%, 45.2%, 17.6%) |
| CIE-LAB | lab(82.16, -14.50, 46.48) |
| CIE-LCH | lch(82.16, 48.69, 107.33°) |
| OKLab | oklab(84.12% -0.0411 0.1113) |
| OKLCH | oklch(84.12% 0.119 110.3) |
| XYZ | xyz(51.8741, 60.5974, 25.1802) |
| Luminance | 0.6060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 1.89
Greenish Tan
#BCCB7A
ΔE00 4.68
Pale Olive
#B9CC81
ΔE00 6.13
Khaki (CSS)
#F0E68C
ΔE00 6.25
Light Olive
#ACBF69
ΔE00 7.11
Darkkhaki
#BDB76B
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD273 #7673D2
analogous
#D2A573 #CFD273 #9FD273
triadic
#CFD273 #73CFD2 #D273CF
tetradic
#CFD273 #73D2A5 #7673D2 #D2739F
square
#CFD273 #73D2A5 #7673D2 #D2739F
split-complementary
#CFD273 #739FD2 #A573D2
monochromatic
#969931 #BFC345 #CFD273 #DFE1A1 #EFF0D0
Accessibility & contrast
On white
1.60
#CFD273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.12
#CFD273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD273
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD273 | 1.00 | 1.60 | 13.12 | 13.12 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCB6B
Deuteranopia (green-blind)
#E0CE78
Tritanopia (blue-blind)
#DAC8BC
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cfd273; /* rgb */ color: rgb(207, 210, 115); /* oklch */ color: oklch(84.1% 0.119 110.3);
Tailwind
colors: {
custom: {
50: '#dfdf9d',
500: '#cfd273',
950: '#000000',
},
}SCSS
$custom: #cfd273; $custom-light: #dfdf9d; $custom-dark: #000000;
JSON
{
"hex": "#cfd273",
"rgb": {
"r": 207,
"g": 210,
"b": 115
},
"hsl": {
"h": 61.895,
"s": 51.351,
"l": 63.725
},
"oklch": {
"l": 0.84116,
"c": 0.11864,
"h": 110.3
},
"luminance": 0.60596
}Semantic roles & 50–950 ramp
primary
#CFD273
secondary
#4D4B9F
accent
#27BF2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F