#B7CF2F#B7CF2F
#B7CF2F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 80.9% C 0.175 H 118.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CF2F |
|---|---|
| RGB | rgb(183, 207, 47) |
| HSL | hsl(69, 63%, 50%) |
| HSV | hsv(69, 77%, 81%) |
| CMYK | cmyk(11.6%, 0%, 77.3%, 18.8%) |
| CIE-LAB | lab(78.98, -27.50, 70.46) |
| CIE-LCH | lch(78.98, 75.64, 111.32°) |
| OKLab | oklab(80.94% -0.0827 0.1543) |
| OKLCH | oklch(80.94% 0.175 118.2) |
| XYZ | xyz(42.3554, 54.8986, 11.0540) |
| Luminance | 0.5490 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.69
Baby Puke Green
#B6C406
ΔE00 3.62
Bile
#B5C306
ΔE00 3.76
Pea
#A4BF20
ΔE00 4.34
Yellowish Green
#B0DD16
ΔE00 4.36
Gross Green
#A0BF16
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CF2F #472FCF
analogous
#CF972F #B7CF2F #67CF2F
triadic
#B7CF2F #2FB7CF #CF2FB7
tetradic
#B7CF2F #2FCF97 #472FCF #CF2F67
square
#B7CF2F #2FCF97 #472FCF #CF2F67
split-complementary
#B7CF2F #2F67CF #972FCF
monochromatic
#5F6B18 #8B9D24 #B7CF2F #C9DB60 #DAE692
Accessibility & contrast
On white
1.75
#B7CF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#B7CF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CF2F
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CF2F | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DAC43E
Tritanopia (blue-blind)
#C2C3B1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #b7cf2f; /* rgb */ color: rgb(183, 207, 47); /* oklch */ color: oklch(80.9% 0.175 118.2);
Tailwind
colors: {
custom: {
50: '#d0dd75',
500: '#b7cf2f',
950: '#000000',
},
}SCSS
$custom: #b7cf2f; $custom-light: #d0dd75; $custom-dark: #000000;
JSON
{
"hex": "#b7cf2f",
"rgb": {
"r": 183,
"g": 207,
"b": 47
},
"hsl": {
"h": 69,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.80943,
"c": 0.1751,
"h": 118.2
},
"luminance": 0.54898
}Semantic roles & 50–950 ramp
primary
#B7CF2F
secondary
#382D75
accent
#42E65A
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D