#B7BF30#B7BF30
#B7BF30 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.157 H 112.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF30 |
|---|---|
| RGB | rgb(183, 191, 48) |
| HSL | hsl(63, 60%, 47%) |
| HSV | hsv(63, 75%, 75%) |
| CMYK | cmyk(4.2%, 0%, 74.9%, 25.1%) |
| CIE-LAB | lab(74.54, -19.67, 66.06) |
| CIE-LCH | lch(74.54, 68.93, 106.58°) |
| OKLab | oklab(77.37% -0.061 0.1452) |
| OKLCH | oklch(77.37% 0.157 112.8) |
| XYZ | xyz(38.6940, 47.5432, 9.9342) |
| Luminance | 0.4754 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.41
Bile
#B5C306
ΔE00 2.44
Baby Puke Green
#B6C406
ΔE00 2.57
Mustard Green
#A8B504
ΔE00 3.41
Puke Yellow
#C2BE0E
ΔE00 3.79
Pea
#A4BF20
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF30 #3830BF
analogous
#BF8030 #B7BF30 #6FBF30
triadic
#B7BF30 #30B7BF #BF30B7
tetradic
#B7BF30 #30BF80 #3830BF #BF306F
square
#B7BF30 #30BF80 #3830BF #BF306F
split-complementary
#B7BF30 #306FBF #8030BF
monochromatic
#595D17 #888E24 #B7BF30 #CED557 #DCE188
Accessibility & contrast
On white
2.00
#B7BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.51
#B7BF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF30
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF30 | 1.00 | 2.00 | 10.51 | 10.51 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB60D
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7bf30; /* rgb */ color: rgb(183, 191, 48); /* oklch */ color: oklch(77.4% 0.157 112.8);
Tailwind
colors: {
custom: {
50: '#d0d274',
500: '#b7bf30',
950: '#000000',
},
}SCSS
$custom: #b7bf30; $custom-light: #d0d274; $custom-dark: #000000;
JSON
{
"hex": "#b7bf30",
"rgb": {
"r": 183,
"g": 191,
"b": 48
},
"hsl": {
"h": 63.357,
"s": 59.833,
"l": 46.863
},
"oklch": {
"l": 0.77374,
"c": 0.15746,
"h": 112.8
},
"luminance": 0.47542
}Semantic roles & 50–950 ramp
primary
#B7BF30
secondary
#8480CB
accent
#45E34E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B