#CFB442#CFB442
#CFB442 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.134 H 95.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB442 |
|---|---|
| RGB | rgb(207, 180, 66) |
| HSL | hsl(49, 59%, 54%) |
| HSV | hsv(49, 68%, 81%) |
| CMYK | cmyk(0%, 13%, 68.1%, 18.8%) |
| CIE-LAB | lab(73.74, -2.87, 59.31) |
| CIE-LCH | lch(73.74, 59.38, 92.77°) |
| OKLab | oklab(77.27% -0.0132 0.1332) |
| OKLCH | oklch(77.27% 0.134 95.7) |
| XYZ | xyz(43.0388, 46.3035, 11.8237) |
| Luminance | 0.4630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.71
Mustard (survey)
#CEB301
ΔE00 4.01
Brownish Yellow
#C9B003
ΔE00 4.01
Dark Yellow
#D5B60A
ΔE00 4.07
Gold (survey)
#DBB40C
ΔE00 4.70
Muddy Yellow
#BFAC05
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB442 #425DCF
analogous
#CF6D42 #CFB442 #A3CF42
triadic
#CFB442 #42CFB4 #B442CF
tetradic
#CFB442 #42CF6D #425DCF #CF42A3
square
#CFB442 #42CF6D #425DCF #CF42A3
split-complementary
#CFB442 #42A3CF #6D42CF
monochromatic
#78671F #A9912B #CFB442 #DBC773 #E8DBA4
Accessibility & contrast
On white
2.05
#CFB442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#CFB442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB442
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB442 | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#DFA79D
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfb442; /* rgb */ color: rgb(207, 180, 66); /* oklch */ color: oklch(77.3% 0.134 95.7);
Tailwind
colors: {
custom: {
50: '#e1ca7c',
500: '#cfb442',
950: '#000000',
},
}SCSS
$custom: #cfb442; $custom-light: #e1ca7c; $custom-dark: #000000;
JSON
{
"hex": "#cfb442",
"rgb": {
"r": 207,
"g": 180,
"b": 66
},
"hsl": {
"h": 48.511,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.77271,
"c": 0.13387,
"h": 95.7
},
"luminance": 0.46301
}Semantic roles & 50–950 ramp
primary
#CFB442
secondary
#98A4D5
accent
#63E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C