#B5B048#B5B048
#B5B048 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.126 H 106.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B048 |
|---|---|
| RGB | rgb(181, 176, 72) |
| HSL | hsl(57, 43%, 50%) |
| HSV | hsv(57, 60%, 71%) |
| CMYK | cmyk(0%, 2.8%, 60.2%, 29%) |
| CIE-LAB | lab(70.42, -11.55, 52.50) |
| CIE-LCH | lch(70.42, 53.76, 102.41°) |
| OKLab | oklab(74.1% -0.0357 0.1205) |
| OKLCH | oklch(74.1% 0.126 106.5) |
| XYZ | xyz(35.7523, 41.3434, 12.2264) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.88
Vomit
#A2A415
ΔE00 5.48
Puke
#A5A502
ΔE00 5.65
Olive Yellow
#C2B709
ΔE00 6.14
Mustard Green
#A8B504
ΔE00 6.21
Khaki (survey)
#AAA662
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B048 #484DB5
analogous
#B57A48 #B5B048 #83B548
triadic
#B5B048 #48B5B0 #B048B5
tetradic
#B5B048 #48B57A #484DB5 #B54883
square
#B5B048 #48B57A #484DB5 #B54883
split-complementary
#B5B048 #4883B5 #7A48B5
monochromatic
#5D5B25 #898537 #B5B048 #C7C373 #D9D69F
Accessibility & contrast
On white
2.27
#B5B048 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#B5B048 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B048
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B048 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B048 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C0AE4E
Tritanopia (blue-blind)
#C1A59A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b5b048; /* rgb */ color: rgb(181, 176, 72); /* oklch */ color: oklch(74.1% 0.126 106.5);
Tailwind
colors: {
custom: {
50: '#cec77f',
500: '#b5b048',
950: '#000000',
},
}SCSS
$custom: #b5b048; $custom-light: #cec77f; $custom-dark: #000000;
JSON
{
"hex": "#b5b048",
"rgb": {
"r": 181,
"g": 176,
"b": 72
},
"hsl": {
"h": 57.248,
"s": 43.083,
"l": 49.608
},
"oklch": {
"l": 0.74098,
"c": 0.12563,
"h": 106.5
},
"luminance": 0.41342
}Semantic roles & 50–950 ramp
primary
#B5B048
secondary
#9396C5
accent
#5BD355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C