#C2BF4F#C2BF4F
#C2BF4F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.5% C 0.134 H 107.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C2BF4F |
|---|---|
| RGB | rgb(194, 191, 79) |
| HSL | hsl(58, 49%, 54%) |
| HSV | hsv(58, 59%, 76%) |
| CMYK | cmyk(0%, 1.5%, 59.3%, 23.9%) |
| CIE-LAB | lab(75.64, -13.26, 55.43) |
| CIE-LCH | lch(75.64, 57.00, 103.46°) |
| OKLab | oklab(78.54% -0.0406 0.1273) |
| OKLCH | oklch(78.54% 0.134 107.7) |
| XYZ | xyz(42.2915, 49.2967, 14.6831) |
| Luminance | 0.4929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.96
Vomit Yellow
#C7C10C
ΔE00 5.34
Darkkhaki
#BDB76B
ΔE00 5.52
Olive Yellow
#C2B709
ΔE00 5.60
Bile
#B5C306
ΔE00 5.96
Dirty Yellow
#CDC50A
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2BF4F #4F52C2
analogous
#C2854F #C2BF4F #8BC24F
triadic
#C2BF4F #4FC2BF #BF4FC2
tetradic
#C2BF4F #4FC285 #4F52C2 #C24F8B
square
#C2BF4F #4FC285 #4F52C2 #C24F8B
split-complementary
#C2BF4F #4F8BC2 #854FC2
monochromatic
#706E27 #9D9B37 #C2BF4F #D2D07C #E2E0AA
Accessibility & contrast
On white
1.93
#C2BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#C2BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2BF4F
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2BF4F | 1.00 | 1.93 | 10.86 | 10.86 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB842
Deuteranopia (green-blind)
#D0BC55
Tritanopia (blue-blind)
#CFB4A7
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #c2bf4f; /* rgb */ color: rgb(194, 191, 79); /* oklch */ color: oklch(78.5% 0.134 107.7);
Tailwind
colors: {
custom: {
50: '#d7d285',
500: '#c2bf4f',
950: '#000000',
},
}SCSS
$custom: #c2bf4f; $custom-light: #d7d285; $custom-dark: #000000;
JSON
{
"hex": "#c2bf4f",
"rgb": {
"r": 194,
"g": 191,
"b": 79
},
"hsl": {
"h": 58.435,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.78538,
"c": 0.13362,
"h": 107.7
},
"luminance": 0.49295
}Semantic roles & 50–950 ramp
primary
#C2BF4F
secondary
#9E9FCF
accent
#53D850
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C