#B8BD48#B8BD48
#B8BD48 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.139 H 111.6°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BD48 |
|---|---|
| RGB | rgb(184, 189, 72) |
| HSL | hsl(63, 47%, 51%) |
| HSV | hsv(63, 62%, 74%) |
| CMYK | cmyk(2.6%, 0%, 61.9%, 25.9%) |
| CIE-LAB | lab(74.22, -16.92, 56.70) |
| CIE-LCH | lch(74.22, 59.17, 106.62°) |
| OKLab | oklab(77.2% -0.0511 0.1293) |
| OKLCH | oklch(77.2% 0.139 111.6) |
| XYZ | xyz(39.1355, 47.0543, 13.1505) |
| Luminance | 0.4705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.39
Mustard Green
#A8B504
ΔE00 4.83
Bile
#B5C306
ΔE00 4.90
Baby Puke Green
#B6C406
ΔE00 5.01
Pea
#A4BF20
ΔE00 5.24
Puke Yellow
#C2BE0E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BD48 #4D48BD
analogous
#BD8748 #B8BD48 #7DBD48
triadic
#B8BD48 #48B8BD #BD48B8
tetradic
#B8BD48 #48BD87 #4D48BD #BD487D
square
#B8BD48 #48BD87 #4D48BD #BD487D
split-complementary
#B8BD48 #487DBD #8748BD
monochromatic
#636625 #8F9335 #B8BD48 #C9CD75 #DBDDA2
Accessibility & contrast
On white
2.02
#B8BD48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#B8BD48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BD48
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BD48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BD48 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#C4B2A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b8bd48; /* rgb */ color: rgb(184, 189, 72); /* oklch */ color: oklch(77.2% 0.139 111.6);
Tailwind
colors: {
custom: {
50: '#d0d080',
500: '#b8bd48',
950: '#000000',
},
}SCSS
$custom: #b8bd48; $custom-light: #d0d080; $custom-dark: #000000;
JSON
{
"hex": "#b8bd48",
"rgb": {
"r": 184,
"g": 189,
"b": 72
},
"hsl": {
"h": 62.564,
"s": 46.988,
"l": 51.176
},
"oklch": {
"l": 0.77196,
"c": 0.13899,
"h": 111.6
},
"luminance": 0.47053
}Semantic roles & 50–950 ramp
primary
#B8BD48
secondary
#9997CA
accent
#51D757
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C