#CFBE2C#CFBE2C
#CFBE2C is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.2% C 0.155 H 102.3°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBE2C |
|---|---|
| RGB | rgb(207, 190, 44) |
| HSL | hsl(54, 65%, 49%) |
| HSV | hsv(54, 79%, 81%) |
| CMYK | cmyk(0%, 8.2%, 78.7%, 18.8%) |
| CIE-LAB | lab(76.24, -9.03, 69.59) |
| CIE-LCH | lch(76.24, 70.18, 97.40°) |
| OKLab | oklab(79.21% -0.0329 0.151) |
| OKLCH | oklch(79.21% 0.155 102.3) |
| XYZ | xyz(44.6023, 50.2762, 9.7373) |
| Luminance | 0.5027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 1.90
Ugly Yellow
#D0C101
ΔE00 2.10
Olive Yellow
#C2B709
ΔE00 2.82
Vomit Yellow
#C7C10C
ΔE00 3.08
Dirty Yellow
#CDC50A
ΔE00 3.15
Puke Yellow
#C2BE0E
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBE2C #2C3DCF
analogous
#CF6C2C #CFBE2C #8FCF2C
triadic
#CFBE2C #2CCFBE #BE2CCF
tetradic
#CFBE2C #2CCF6C #2C3DCF #CF2C8F
square
#CFBE2C #2CCF6C #2C3DCF #CF2C8F
split-complementary
#CFBE2C #2C8FCF #6C2CCF
monochromatic
#6A6117 #9D9021 #CFBE2C #DCCF5C #E7DE8E
Accessibility & contrast
On white
1.90
#CFBE2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.05
#CFBE2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBE2C
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBE2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBE2C | 1.00 | 1.90 | 11.05 | 11.05 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D5BF38
Tritanopia (blue-blind)
#DFB0A3
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #cfbe2c; /* rgb */ color: rgb(207, 190, 44); /* oklch */ color: oklch(79.2% 0.155 102.3);
Tailwind
colors: {
custom: {
50: '#e2d172',
500: '#cfbe2c',
950: '#000000',
},
}SCSS
$custom: #cfbe2c; $custom-light: #e2d172; $custom-dark: #000000;
JSON
{
"hex": "#cfbe2c",
"rgb": {
"r": 207,
"g": 190,
"b": 44
},
"hsl": {
"h": 53.742,
"s": 64.94,
"l": 49.216
},
"oklch": {
"l": 0.79208,
"c": 0.15453,
"h": 102.3
},
"luminance": 0.50274
}Semantic roles & 50–950 ramp
primary
#CFBE2C
secondary
#2B3374
accent
#51E840
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161409
muted
#85837D