#CFB662#CFB662
#CFB662 is a light, moderate yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.108 H 93.2°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB662 |
|---|---|
| RGB | rgb(207, 182, 98) |
| HSL | hsl(46, 53%, 60%) |
| HSV | hsv(46, 53%, 81%) |
| CMYK | cmyk(0%, 12.1%, 52.7%, 18.8%) |
| CIE-LAB | lab(74.58, -1.68, 45.61) |
| CIE-LCH | lch(74.58, 45.64, 92.11°) |
| OKLab | oklab(78.03% -0.006 0.108) |
| OKLCH | oklch(78.03% 0.108 93.2) |
| XYZ | xyz(44.6663, 47.6051, 18.3889) |
| Luminance | 0.4760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.17
Tan (survey)
#D1B26F
ΔE00 4.00
Sand (survey)
#E2CA76
ΔE00 5.06
Sandy Brown
#C4A661
ΔE00 5.23
Sandstone
#C9AE74
ΔE00 5.43
Darkkhaki
#BDB76B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB662 #627BCF
analogous
#CF8062 #CFB662 #B1CF62
triadic
#CFB662 #62CFB6 #B662CF
tetradic
#CFB662 #62CF80 #627BCF #CF62B1
square
#CFB662 #62CF80 #627BCF #CF62B1
split-complementary
#CFB662 #62B1CF #8062CF
monochromatic
#8C762B #BB9D39 #CFB662 #DDCC91 #ECE2C0
Accessibility & contrast
On white
2.00
#CFB662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#CFB662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB662
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB662 | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B35B
Deuteranopia (green-blind)
#CCBB65
Tritanopia (blue-blind)
#DDAAA2
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #cfb662; /* rgb */ color: rgb(207, 182, 98); /* oklch */ color: oklch(78.0% 0.108 93.2);
Tailwind
colors: {
custom: {
50: '#e0cb91',
500: '#cfb662',
950: '#000000',
},
}SCSS
$custom: #cfb662; $custom-light: #e0cb91; $custom-dark: #000000;
JSON
{
"hex": "#cfb662",
"rgb": {
"r": 207,
"g": 182,
"b": 98
},
"hsl": {
"h": 46.239,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.7803,
"c": 0.10817,
"h": 93.2
},
"luminance": 0.47603
}Semantic roles & 50–950 ramp
primary
#CFB662
secondary
#B1BBDB
accent
#6DDD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E