#CFB545#CFB545
#CFB545 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.132 H 96.0°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB545 |
|---|---|
| RGB | rgb(207, 181, 69) |
| HSL | hsl(49, 59%, 54%) |
| HSV | hsv(49, 67%, 81%) |
| CMYK | cmyk(0%, 12.6%, 66.7%, 18.8%) |
| CIE-LAB | lab(74.03, -3.22, 58.35) |
| CIE-LCH | lch(74.03, 58.44, 93.16°) |
| OKLab | oklab(77.5% -0.0139 0.1317) |
| OKLCH | oklch(77.5% 0.132 96) |
| XYZ | xyz(43.3322, 46.7450, 12.3693) |
| Luminance | 0.4674 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.03
Mustard (survey)
#CEB301
ΔE00 4.26
Brownish Yellow
#C9B003
ΔE00 4.27
Dark Yellow
#D5B60A
ΔE00 4.33
Gold (survey)
#DBB40C
ΔE00 5.03
Muddy Yellow
#BFAC05
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB545 #455FCF
analogous
#CF7045 #CFB545 #A4CF45
triadic
#CFB545 #45CFB5 #B545CF
tetradic
#CFB545 #45CF70 #455FCF #CF45A4
square
#CFB545 #45CF70 #455FCF #CF45A4
split-complementary
#CFB545 #45A4CF #7045CF
monochromatic
#7A6920 #AB932C #CFB545 #DCC876 #E8DCA6
Accessibility & contrast
On white
2.03
#CFB545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#CFB545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB545
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB545 | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#DFA89E
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb545; /* rgb */ color: rgb(207, 181, 69); /* oklch */ color: oklch(77.5% 0.132 96.0);
Tailwind
colors: {
custom: {
50: '#e1ca7e',
500: '#cfb545',
950: '#000000',
},
}SCSS
$custom: #cfb545; $custom-light: #e1ca7e; $custom-dark: #000000;
JSON
{
"hex": "#cfb545",
"rgb": {
"r": 207,
"g": 181,
"b": 69
},
"hsl": {
"h": 48.696,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.77504,
"c": 0.13242,
"h": 96
},
"luminance": 0.46743
}Semantic roles & 50–950 ramp
primary
#CFB545
secondary
#9BA6D5
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C