#CFB462#CFB462
#CFB462 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.107 H 91.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB462 |
|---|---|
| RGB | rgb(207, 180, 98) |
| HSL | hsl(45, 53%, 60%) |
| HSV | hsv(45, 53%, 81%) |
| CMYK | cmyk(0%, 13%, 52.7%, 18.8%) |
| CIE-LAB | lab(74.06, -0.63, 44.99) |
| CIE-LCH | lch(74.06, 45.00, 90.80°) |
| OKLab | oklab(77.62% -0.0029 0.1066) |
| OKLCH | oklch(77.62% 0.107 91.6) |
| XYZ | xyz(44.2597, 46.7918, 18.2533) |
| Luminance | 0.4679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.34
Tan (survey)
#D1B26F
ΔE00 3.30
Sandy Brown
#C4A661
ΔE00 4.50
Sandstone
#C9AE74
ΔE00 4.84
Sand (survey)
#E2CA76
ΔE00 5.56
Sand Brown
#CBA560
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB462 #627DCF
analogous
#CF7E62 #CFB462 #B3CF62
triadic
#CFB462 #62CFB4 #B462CF
tetradic
#CFB462 #62CF7E #627DCF #CF62B3
square
#CFB462 #62CF7E #627DCF #CF62B3
split-complementary
#CFB462 #62B3CF #7E62CF
monochromatic
#8C742B #BB9B39 #CFB462 #DDCA91 #ECE1C0
Accessibility & contrast
On white
2.03
#CFB462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#CFB462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB462
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB462 | 1.00 | 2.03 | 10.36 | 10.36 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B25B
Deuteranopia (green-blind)
#CBB965
Tritanopia (blue-blind)
#DDA8A1
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb462; /* rgb */ color: rgb(207, 180, 98); /* oklch */ color: oklch(77.6% 0.107 91.6);
Tailwind
colors: {
custom: {
50: '#e0ca90',
500: '#cfb462',
950: '#000000',
},
}SCSS
$custom: #cfb462; $custom-light: #e0ca90; $custom-dark: #000000;
JSON
{
"hex": "#cfb462",
"rgb": {
"r": 207,
"g": 180,
"b": 98
},
"hsl": {
"h": 45.138,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.77621,
"c": 0.10667,
"h": 91.6
},
"luminance": 0.4679
}Semantic roles & 50–950 ramp
primary
#CFB462
secondary
#B1BCDB
accent
#6FDD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E