#CFB147#CFB147
#CFB147 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.128 H 93.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB147 |
|---|---|
| RGB | rgb(207, 177, 71) |
| HSL | hsl(47, 59%, 55%) |
| HSV | hsv(47, 66%, 81%) |
| CMYK | cmyk(0%, 14.5%, 65.7%, 18.8%) |
| CIE-LAB | lab(73.00, -1.00, 56.42) |
| CIE-LCH | lch(73.00, 56.43, 91.02°) |
| OKLab | oklab(76.7% -0.0073 0.1279) |
| OKLCH | oklch(76.7% 0.128 93.2) |
| XYZ | xyz(42.5937, 45.1669, 12.4346) |
| Luminance | 0.4516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.77
Desert
#CCAD60
ΔE00 4.51
Burnt Yellow
#D5AB09
ΔE00 5.00
Brownish Yellow
#C9B003
ΔE00 5.01
Dark Yellow
#D5B60A
ΔE00 5.04
Mustard (survey)
#CEB301
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB147 #4765CF
analogous
#CF6D47 #CFB147 #A9CF47
triadic
#CFB147 #47CFB1 #B147CF
tetradic
#CFB147 #47CF6D #4765CF #CF47A9
square
#CFB147 #47CF6D #4765CF #CF47A9
split-complementary
#CFB147 #47A9CF #6D47CF
monochromatic
#7B6720 #AC902D #CFB147 #DCC678 #E8DAA8
Accessibility & contrast
On white
2.09
#CFB147 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#CFB147 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB147
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB147 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB147 | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE3A
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfb147; /* rgb */ color: rgb(207, 177, 71); /* oklch */ color: oklch(76.7% 0.128 93.2);
Tailwind
colors: {
custom: {
50: '#e1c87f',
500: '#cfb147',
950: '#000000',
},
}SCSS
$custom: #cfb147; $custom-light: #e1c87f; $custom-dark: #000000;
JSON
{
"hex": "#cfb147",
"rgb": {
"r": 207,
"g": 177,
"b": 71
},
"hsl": {
"h": 46.765,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.76699,
"c": 0.12812,
"h": 93.2
},
"luminance": 0.45165
}Semantic roles & 50–950 ramp
primary
#CFB147
secondary
#9CA9D6
accent
#68E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C