#B8BE42#B8BE42
#B8BE42 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.4% C 0.145 H 112.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BE42 |
|---|---|
| RGB | rgb(184, 190, 66) |
| HSL | hsl(63, 49%, 50%) |
| HSV | hsv(63, 65%, 75%) |
| CMYK | cmyk(3.2%, 0%, 65.3%, 25.5%) |
| CIE-LAB | lab(74.45, -17.81, 59.42) |
| CIE-LCH | lch(74.45, 62.04, 106.69°) |
| OKLab | oklab(77.36% -0.0542 0.1341) |
| OKLCH | oklch(77.36% 0.145 112) |
| XYZ | xyz(39.1651, 47.4115, 12.2414) |
| Luminance | 0.4741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.74
Bile
#B5C306
ΔE00 4.12
Baby Puke Green
#B6C406
ΔE00 4.23
Mustard Green
#A8B504
ΔE00 4.36
Pea
#A4BF20
ΔE00 4.76
Puke Yellow
#C2BE0E
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BE42 #4842BE
analogous
#BE8642 #B8BE42 #7ABE42
triadic
#B8BE42 #42B8BE #BE42B8
tetradic
#B8BE42 #42BE86 #4842BE #BE427A
square
#B8BE42 #42BE86 #4842BE #BE427A
split-complementary
#B8BE42 #427ABE #8642BE
monochromatic
#606322 #8C9132 #B8BE42 #C9CE70 #DADD9D
Accessibility & contrast
On white
2.00
#B8BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#B8BE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BE42
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BE42 | 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)
#CCB631
Deuteranopia (green-blind)
#CCB94A
Tritanopia (blue-blind)
#C4B3A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b8be42; /* rgb */ color: rgb(184, 190, 66); /* oklch */ color: oklch(77.4% 0.145 112.0);
Tailwind
colors: {
custom: {
50: '#d0d17d',
500: '#b8be42',
950: '#000000',
},
}SCSS
$custom: #b8be42; $custom-light: #d0d17d; $custom-dark: #000000;
JSON
{
"hex": "#b8be42",
"rgb": {
"r": 184,
"g": 190,
"b": 66
},
"hsl": {
"h": 62.903,
"s": 48.819,
"l": 50.196
},
"oklch": {
"l": 0.77363,
"c": 0.14467,
"h": 112
},
"luminance": 0.47411
}Semantic roles & 50–950 ramp
primary
#B8BE42
secondary
#9592CA
accent
#4FD856
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C