#CFB245#CFB245
#CFB245 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.130 H 94.1°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB245 |
|---|---|
| RGB | rgb(207, 178, 69) |
| HSL | hsl(47, 59%, 54%) |
| HSV | hsv(47, 67%, 81%) |
| CMYK | cmyk(0%, 14%, 66.7%, 18.8%) |
| CIE-LAB | lab(73.24, -1.65, 57.54) |
| CIE-LCH | lch(73.24, 57.56, 91.64°) |
| OKLab | oklab(76.89% -0.0093 0.13) |
| OKLCH | oklch(76.89% 0.13 94.1) |
| XYZ | xyz(42.7288, 45.5381, 12.1682) |
| Luminance | 0.4554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.66
Brownish Yellow
#C9B003
ΔE00 4.59
Mustard (survey)
#CEB301
ΔE00 4.63
Dark Yellow
#D5B60A
ΔE00 4.64
Gold (survey)
#DBB40C
ΔE00 4.88
Desert
#CCAD60
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB245 #4562CF
analogous
#CF6D45 #CFB245 #A7CF45
triadic
#CFB245 #45CFB2 #B245CF
tetradic
#CFB245 #45CF6D #4562CF #CF45A7
square
#CFB245 #45CF6D #4562CF #CF45A7
split-complementary
#CFB245 #45A7CF #6D45CF
monochromatic
#7A6720 #AB902C #CFB245 #DCC676 #E8DAA6
Accessibility & contrast
On white
2.08
#CFB245 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#CFB245 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB245
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB245 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB245 | 1.00 | 2.08 | 10.11 | 10.11 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb245; /* rgb */ color: rgb(207, 178, 69); /* oklch */ color: oklch(76.9% 0.130 94.1);
Tailwind
colors: {
custom: {
50: '#e1c87e',
500: '#cfb245',
950: '#000000',
},
}SCSS
$custom: #cfb245; $custom-light: #e1c87e; $custom-dark: #000000;
JSON
{
"hex": "#cfb245",
"rgb": {
"r": 207,
"g": 178,
"b": 69
},
"hsl": {
"h": 47.391,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.76886,
"c": 0.1303,
"h": 94.1
},
"luminance": 0.45536
}Semantic roles & 50–950 ramp
primary
#CFB245
secondary
#9BA7D5
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C