#CFC274#CFC274
#CFC274 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.100 H 100.0°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC274 |
|---|---|
| RGB | rgb(207, 194, 116) |
| HSL | hsl(51, 49%, 63%) |
| HSV | hsv(51, 44%, 81%) |
| CMYK | cmyk(0%, 6.3%, 44%, 18.8%) |
| CIE-LAB | lab(77.94, -6.25, 40.76) |
| CIE-LCH | lch(77.94, 41.24, 98.72°) |
| OKLab | oklab(80.77% -0.0174 0.0986) |
| OKLCH | oklch(80.77% 0.1 100) |
| XYZ | xyz(48.1774, 53.1115, 24.2333) |
| Luminance | 0.5311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.84
Sand (survey)
#E2CA76
ΔE00 4.09
Greenish Beige
#C9D179
ΔE00 6.46
Sand
#C2B280
ΔE00 6.88
Tan (survey)
#D1B26F
ΔE00 7.00
Sandy
#F1DA7A
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC274 #7481CF
analogous
#CF9474 #CFC274 #AECF74
triadic
#CFC274 #74CFC2 #C274CF
tetradic
#CFC274 #74CF94 #7481CF #CF74AE
square
#CFC274 #74CF94 #7481CF #CF74AE
split-complementary
#CFC274 #74AECF #9474CF
monochromatic
#958733 #BFAE47 #CFC274 #DFD6A1 #EEEACF
Accessibility & contrast
On white
1.81
#CFC274 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#CFC274 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC274
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC274 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC274 | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBE6E
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#DBB8AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc274; /* rgb */ color: rgb(207, 194, 116); /* oklch */ color: oklch(80.8% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#dfd49d',
500: '#cfc274',
950: '#000000',
},
}SCSS
$custom: #cfc274; $custom-light: #dfd49d; $custom-dark: #000000;
JSON
{
"hex": "#cfc274",
"rgb": {
"r": 207,
"g": 194,
"b": 116
},
"hsl": {
"h": 51.429,
"s": 48.663,
"l": 63.333
},
"oklch": {
"l": 0.80768,
"c": 0.1001,
"h": 100
},
"luminance": 0.5311
}Semantic roles & 50–950 ramp
primary
#CFC274
secondary
#4C579B
accent
#3EBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F