#B7BD40#B7BD40
#B7BD40 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.145 H 112.0°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BD40 |
|---|---|
| RGB | rgb(183, 189, 64) |
| HSL | hsl(63, 49%, 50%) |
| HSV | hsv(63, 66%, 74%) |
| CMYK | cmyk(3.2%, 0%, 66.1%, 25.9%) |
| CIE-LAB | lab(74.08, -17.85, 59.82) |
| CIE-LCH | lch(74.08, 62.43, 106.62°) |
| OKLab | oklab(77.04% -0.0544 0.1347) |
| OKLCH | oklch(77.04% 0.145 112) |
| XYZ | xyz(38.6526, 46.8335, 11.8531) |
| Luminance | 0.4683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.56
Bile
#B5C306
ΔE00 4.08
Mustard Green
#A8B504
ΔE00 4.10
Baby Puke Green
#B6C406
ΔE00 4.21
Pea
#A4BF20
ΔE00 4.68
Puke Yellow
#C2BE0E
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BD40 #4640BD
analogous
#BD8540 #B7BD40 #79BD40
triadic
#B7BD40 #40B7BD #BD40B7
tetradic
#B7BD40 #40BD85 #4640BD #BD4079
square
#B7BD40 #40BD85 #4640BD #BD4079
split-complementary
#B7BD40 #4079BD #8540BD
monochromatic
#5E6221 #8B8F31 #B7BD40 #C9CD6D #DADD9A
Accessibility & contrast
On white
2.03
#B7BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#B7BD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BD40
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BD40 | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CBB849
Tritanopia (blue-blind)
#C3B2A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b7bd40; /* rgb */ color: rgb(183, 189, 64); /* oklch */ color: oklch(77.0% 0.145 112.0);
Tailwind
colors: {
custom: {
50: '#d0d07c',
500: '#b7bd40',
950: '#000000',
},
}SCSS
$custom: #b7bd40; $custom-light: #d0d07c; $custom-dark: #000000;
JSON
{
"hex": "#b7bd40",
"rgb": {
"r": 183,
"g": 189,
"b": 64
},
"hsl": {
"h": 62.88,
"s": 49.407,
"l": 49.608
},
"oklch": {
"l": 0.77043,
"c": 0.14528,
"h": 112
},
"luminance": 0.46833
}Semantic roles & 50–950 ramp
primary
#B7BD40
secondary
#9390C9
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C