#CFB945#CFB945
#CFB945 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.135 H 98.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB945 |
|---|---|
| RGB | rgb(207, 185, 69) |
| HSL | hsl(50, 59%, 54%) |
| HSV | hsv(50, 67%, 81%) |
| CMYK | cmyk(0%, 10.6%, 66.7%, 18.8%) |
| CIE-LAB | lab(75.07, -5.31, 59.45) |
| CIE-LCH | lch(75.07, 59.68, 95.10°) |
| OKLab | oklab(78.33% -0.0198 0.134) |
| OKLCH | oklch(78.33% 0.135 98.4) |
| XYZ | xyz(44.1573, 48.3951, 12.6443) |
| Luminance | 0.4839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard (survey)
#CEB301
ΔE00 4.27
Mustard Yellow
#D2BD0A
ΔE00 4.34
Brownish Yellow
#C9B003
ΔE00 4.35
Dark Yellow
#D5B60A
ΔE00 4.42
Olive Yellow
#C2B709
ΔE00 4.88
Mustard
#DBB42C
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB945 #455BCF
analogous
#CF7445 #CFB945 #A0CF45
triadic
#CFB945 #45CFB9 #B945CF
tetradic
#CFB945 #45CF74 #455BCF #CF45A0
square
#CFB945 #45CF74 #455BCF #CF45A0
split-complementary
#CFB945 #45A0CF #7445CF
monochromatic
#7A6C20 #AB972C #CFB945 #DCCB76 #E8DEA6
Accessibility & contrast
On white
1.97
#CFB945 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#CFB945 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB945
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB945 | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#DFACA1
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cfb945; /* rgb */ color: rgb(207, 185, 69); /* oklch */ color: oklch(78.3% 0.135 98.4);
Tailwind
colors: {
custom: {
50: '#e1cd7e',
500: '#cfb945',
950: '#000000',
},
}SCSS
$custom: #cfb945; $custom-light: #e1cd7e; $custom-dark: #000000;
JSON
{
"hex": "#cfb945",
"rgb": {
"r": 207,
"g": 185,
"b": 69
},
"hsl": {
"h": 50.435,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.78333,
"c": 0.13546,
"h": 98.4
},
"luminance": 0.48393
}Semantic roles & 50–950 ramp
primary
#CFB945
secondary
#9BA4D5
accent
#5FE246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C