#B7C733#B7C733
#B7C733 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.2% C 0.164 H 115.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C733 |
|---|---|
| RGB | rgb(183, 199, 51) |
| HSL | hsl(66, 59%, 49%) |
| HSV | hsv(66, 74%, 78%) |
| CMYK | cmyk(8%, 0%, 74.4%, 22%) |
| CIE-LAB | lab(76.77, -23.47, 67.18) |
| CIE-LCH | lch(76.77, 71.16, 109.26°) |
| OKLab | oklab(79.17% -0.0713 0.148) |
| OKLCH | oklch(79.17% 0.164 115.7) |
| XYZ | xyz(40.5505, 51.1538, 10.8688) |
| Luminance | 0.5115 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.36
Bile
#B5C306
ΔE00 2.40
Green Yellow
#B5CE08
ΔE00 2.93
Pea
#A4BF20
ΔE00 3.43
Snot
#ACBB0D
ΔE00 3.44
Gross Green
#A0BF16
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C733 #4333C7
analogous
#C78D33 #B7C733 #6DC733
triadic
#B7C733 #33B7C7 #C733B7
tetradic
#B7C733 #33C78D #4333C7 #C7336D
square
#B7C733 #33C78D #4333C7 #C7336D
split-complementary
#B7C733 #336DC7 #8D33C7
monochromatic
#5D661A #8A9627 #B7C733 #CAD661 #DAE391
Accessibility & contrast
On white
1.87
#B7C733 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.23
#B7C733 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C733
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C733 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C733 | 1.00 | 1.87 | 11.23 | 11.23 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD11
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#C3BBAB
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b7c733; /* rgb */ color: rgb(183, 199, 51); /* oklch */ color: oklch(79.2% 0.164 115.7);
Tailwind
colors: {
custom: {
50: '#d0d776',
500: '#b7c733',
950: '#000000',
},
}SCSS
$custom: #b7c733; $custom-light: #d0d776; $custom-dark: #000000;
JSON
{
"hex": "#b7c733",
"rgb": {
"r": 183,
"g": 199,
"b": 51
},
"hsl": {
"h": 66.486,
"s": 59.2,
"l": 49.02
},
"oklch": {
"l": 0.79172,
"c": 0.16432,
"h": 115.7
},
"luminance": 0.51153
}Semantic roles & 50–950 ramp
primary
#B7C733
secondary
#352E70
accent
#45E256
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D