#CFD274#CFD274
#CFD274 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.118 H 110.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD274 |
|---|---|
| RGB | rgb(207, 210, 116) |
| HSL | hsl(62, 51%, 64%) |
| HSV | hsv(62, 45%, 82%) |
| CMYK | cmyk(1.4%, 0%, 44.8%, 17.6%) |
| CIE-LAB | lab(82.17, -14.40, 46.01) |
| CIE-LCH | lch(82.17, 48.21, 107.38°) |
| OKLab | oklab(84.13% -0.0408 0.1103) |
| OKLCH | oklch(84.13% 0.118 110.3) |
| XYZ | xyz(51.9320, 60.6206, 25.4849) |
| Luminance | 0.6062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 1.79
Greenish Tan
#BCCB7A
ΔE00 4.59
Pale Olive
#B9CC81
ΔE00 6.03
Khaki (CSS)
#F0E68C
ΔE00 6.24
Light Olive
#ACBF69
ΔE00 7.07
Darkkhaki
#BDB76B
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD274 #7774D2
analogous
#D2A674 #CFD274 #A0D274
triadic
#CFD274 #74CFD2 #D274CF
tetradic
#CFD274 #74D2A6 #7774D2 #D274A0
square
#CFD274 #74D2A6 #7774D2 #D274A0
split-complementary
#CFD274 #74A0D2 #A674D2
monochromatic
#969A32 #BFC346 #CFD274 #DFE1A2 #EFF0D0
Accessibility & contrast
On white
1.60
#CFD274 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.12
#CFD274 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD274
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD274 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD274 | 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)
#DFCB6C
Deuteranopia (green-blind)
#E0CE79
Tritanopia (blue-blind)
#DAC8BC
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cfd274; /* rgb */ color: rgb(207, 210, 116); /* oklch */ color: oklch(84.1% 0.118 110.3);
Tailwind
colors: {
custom: {
50: '#dfdf9e',
500: '#cfd274',
950: '#000000',
},
}SCSS
$custom: #cfd274; $custom-light: #dfdf9e; $custom-dark: #000000;
JSON
{
"hex": "#cfd274",
"rgb": {
"r": 207,
"g": 210,
"b": 116
},
"hsl": {
"h": 61.915,
"s": 51.087,
"l": 63.922
},
"oklch": {
"l": 0.84131,
"c": 0.11759,
"h": 110.3
},
"luminance": 0.6062
}Semantic roles & 50–950 ramp
primary
#CFD274
secondary
#4E4B9F
accent
#27BE2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F