#B7BE38#B7BE38
#B7BE38 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.152 H 112.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BE38 |
|---|---|
| RGB | rgb(183, 190, 56) |
| HSL | hsl(63, 54%, 48%) |
| HSV | hsv(63, 71%, 75%) |
| CMYK | cmyk(3.7%, 0%, 70.5%, 25.5%) |
| CIE-LAB | lab(74.31, -18.79, 63.09) |
| CIE-LCH | lch(74.31, 65.83, 106.59°) |
| OKLab | oklab(77.2% -0.0579 0.1403) |
| OKLCH | oklch(77.2% 0.152 112.4) |
| XYZ | xyz(38.6569, 47.1806, 10.8110) |
| Luminance | 0.4718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.88
Bile
#B5C306
ΔE00 3.21
Baby Puke Green
#B6C406
ΔE00 3.34
Mustard Green
#A8B504
ΔE00 3.64
Puke Yellow
#C2BE0E
ΔE00 4.18
Pea
#A4BF20
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BE38 #3F38BE
analogous
#BE8238 #B7BE38 #74BE38
triadic
#B7BE38 #38B7BE #BE38B7
tetradic
#B7BE38 #38BE82 #3F38BE #BE3874
square
#B7BE38 #38BE82 #3F38BE #BE3874
split-complementary
#B7BE38 #3874BE #8238BE
monochromatic
#5C5F1C #898F2A #B7BE38 #CBD162 #DBDF92
Accessibility & contrast
On white
2.01
#B7BE38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.44
#B7BE38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BE38
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BE38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BE38 | 1.00 | 2.01 | 10.44 | 10.44 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C3B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7be38; /* rgb */ color: rgb(183, 190, 56); /* oklch */ color: oklch(77.2% 0.152 112.4);
Tailwind
colors: {
custom: {
50: '#d0d177',
500: '#b7be38',
950: '#000000',
},
}SCSS
$custom: #b7be38; $custom-light: #d0d177; $custom-dark: #000000;
JSON
{
"hex": "#b7be38",
"rgb": {
"r": 183,
"g": 190,
"b": 56
},
"hsl": {
"h": 63.134,
"s": 54.472,
"l": 48.235
},
"oklch": {
"l": 0.77204,
"c": 0.15173,
"h": 112.4
},
"luminance": 0.4718
}Semantic roles & 50–950 ramp
primary
#B7BE38
secondary
#8B88CA
accent
#4ADE52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B