#BFCF42#BFCF42
#BFCF42 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.161 H 115.7°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #BFCF42 |
|---|---|
| RGB | rgb(191, 207, 66) |
| HSL | hsl(67, 59%, 54%) |
| HSV | hsv(67, 68%, 81%) |
| CMYK | cmyk(7.7%, 0%, 68.1%, 18.8%) |
| CIE-LAB | lab(79.67, -23.29, 64.92) |
| CIE-LCH | lch(79.67, 68.97, 109.74°) |
| OKLab | oklab(81.67% -0.0699 0.1455) |
| OKLCH | oklch(81.67% 0.161 115.7) |
| XYZ | xyz(44.7832, 56.0960, 13.6217) |
| Luminance | 0.5609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.24
Baby Puke Green
#B6C406
ΔE00 3.99
Bile
#B5C306
ΔE00 4.13
Pea
#A4BF20
ΔE00 5.19
Snot
#ACBB0D
ΔE00 5.56
Sickly Yellow
#D0E429
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFCF42 #5242CF
analogous
#CF9942 #BFCF42 #78CF42
triadic
#BFCF42 #42BFCF #CF42BF
tetradic
#BFCF42 #42CF99 #5242CF #CF4278
square
#BFCF42 #42CF99 #5242CF #CF4278
split-complementary
#BFCF42 #4278CF #9942CF
monochromatic
#6E781F #9BA92B #BFCF42 #D0DB73 #E0E8A4
Accessibility & contrast
On white
1.72
#BFCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.22
#BFCF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFCF42
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFCF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFCF42 | 1.00 | 1.72 | 12.22 | 12.22 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC52C
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#CBC3B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #bfcf42; /* rgb */ color: rgb(191, 207, 66); /* oklch */ color: oklch(81.7% 0.161 115.7);
Tailwind
colors: {
custom: {
50: '#d6dd7e',
500: '#bfcf42',
950: '#000000',
},
}SCSS
$custom: #bfcf42; $custom-light: #d6dd7e; $custom-dark: #000000;
JSON
{
"hex": "#bfcf42",
"rgb": {
"r": 191,
"g": 207,
"b": 66
},
"hsl": {
"h": 66.809,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.81673,
"c": 0.16145,
"h": 115.7
},
"luminance": 0.56095
}Semantic roles & 50–950 ramp
primary
#BFCF42
secondary
#3D3580
accent
#45E357
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E