#B7BD31#B7BD31
#B7BD31 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.155 H 112.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BD31 |
|---|---|
| RGB | rgb(183, 189, 49) |
| HSL | hsl(63, 59%, 47%) |
| HSV | hsv(63, 74%, 74%) |
| CMYK | cmyk(3.2%, 0%, 74.1%, 25.9%) |
| CIE-LAB | lab(73.99, -18.63, 65.22) |
| CIE-LCH | lch(73.99, 67.83, 105.94°) |
| OKLab | oklab(76.94% -0.058 0.1435) |
| OKLCH | oklch(76.94% 0.155 112) |
| XYZ | xyz(38.2817, 46.6852, 9.8997) |
| Luminance | 0.4668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.57
Bile
#B5C306
ΔE00 2.92
Baby Puke Green
#B6C406
ΔE00 3.07
Mustard Green
#A8B504
ΔE00 3.27
Puke Yellow
#C2BE0E
ΔE00 3.61
Vomit Yellow
#C7C10C
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BD31 #3731BD
analogous
#BD7D31 #B7BD31 #71BD31
triadic
#B7BD31 #31B7BD #BD31B7
tetradic
#B7BD31 #31BD7D #3731BD #BD3171
square
#B7BD31 #31BD7D #3731BD #BD3171
split-complementary
#B7BD31 #3171BD #7D31BD
monochromatic
#595C18 #888C24 #B7BD31 #CED458 #DCE088
Accessibility & contrast
On white
2.03
#B7BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#B7BD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BD31
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BD31 | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB412
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#C4B1A2
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b7bd31; /* rgb */ color: rgb(183, 189, 49); /* oklch */ color: oklch(76.9% 0.155 112.0);
Tailwind
colors: {
custom: {
50: '#d0d074',
500: '#b7bd31',
950: '#000000',
},
}SCSS
$custom: #b7bd31; $custom-light: #d0d074; $custom-dark: #000000;
JSON
{
"hex": "#b7bd31",
"rgb": {
"r": 183,
"g": 189,
"b": 49
},
"hsl": {
"h": 62.571,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.76937,
"c": 0.15483,
"h": 112
},
"luminance": 0.46684
}Semantic roles & 50–950 ramp
primary
#B7BD31
secondary
#8380CA
accent
#46E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B