#B8BE40#B8BE40
#B8BE40 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.146 H 112.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BE40 |
|---|---|
| RGB | rgb(184, 190, 64) |
| HSL | hsl(63, 50%, 50%) |
| HSV | hsv(63, 66%, 75%) |
| CMYK | cmyk(3.2%, 0%, 66.3%, 25.5%) |
| CIE-LAB | lab(74.44, -17.93, 60.21) |
| CIE-LCH | lch(74.44, 62.82, 106.58°) |
| OKLab | oklab(77.35% -0.0547 0.1355) |
| OKLCH | oklch(77.35% 0.146 112) |
| XYZ | xyz(39.1072, 47.3883, 11.9363) |
| Luminance | 0.4739 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.57
Bile
#B5C306
ΔE00 3.93
Baby Puke Green
#B6C406
ΔE00 4.04
Mustard Green
#A8B504
ΔE00 4.21
Puke Yellow
#C2BE0E
ΔE00 4.63
Pea
#A4BF20
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BE40 #4640BE
analogous
#BE8540 #B8BE40 #79BE40
triadic
#B8BE40 #40B8BE #BE40B8
tetradic
#B8BE40 #40BE85 #4640BE #BE4079
square
#B8BE40 #40BE85 #4640BE #BE4079
split-complementary
#B8BE40 #4079BE #8540BE
monochromatic
#5F6221 #8C9031 #B8BE40 #C9CE6D #DADD9B
Accessibility & contrast
On white
2.00
#B8BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#B8BE40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BE40
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BE40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BE40 | 1.00 | 2.00 | 10.48 | 10.48 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#C4B3A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b8be40; /* rgb */ color: rgb(184, 190, 64); /* oklch */ color: oklch(77.3% 0.146 112.0);
Tailwind
colors: {
custom: {
50: '#d0d17c',
500: '#b8be40',
950: '#000000',
},
}SCSS
$custom: #b8be40; $custom-light: #d0d17c; $custom-dark: #000000;
JSON
{
"hex": "#b8be40",
"rgb": {
"r": 184,
"g": 190,
"b": 64
},
"hsl": {
"h": 62.857,
"s": 49.606,
"l": 49.804
},
"oklch": {
"l": 0.77346,
"c": 0.14612,
"h": 112
},
"luminance": 0.47387
}Semantic roles & 50–950 ramp
primary
#B8BE40
secondary
#9390C9
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C