#B5BB45#B5BB45
#B5BB45 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.140 H 112.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BB45 |
|---|---|
| RGB | rgb(181, 187, 69) |
| HSL | hsl(63, 46%, 50%) |
| HSV | hsv(63, 63%, 73%) |
| CMYK | cmyk(3.2%, 0%, 63.1%, 26.7%) |
| CIE-LAB | lab(73.41, -17.37, 57.03) |
| CIE-LCH | lch(73.41, 59.62, 106.94°) |
| OKLab | oklab(76.48% -0.0525 0.1296) |
| OKLCH | oklch(76.48% 0.14 112) |
| XYZ | xyz(37.9016, 45.7949, 12.4718) |
| Luminance | 0.4579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.09
Mustard Green
#A8B504
ΔE00 4.39
Bile
#B5C306
ΔE00 4.90
Pea
#A4BF20
ΔE00 4.96
Baby Puke Green
#B6C406
ΔE00 5.05
Sick Green
#9DB92C
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BB45 #4B45BB
analogous
#BB8645 #B5BB45 #7ABB45
triadic
#B5BB45 #45B5BB #BB45B5
tetradic
#B5BB45 #45BB86 #4B45BB #BB457A
square
#B5BB45 #45BB86 #4B45BB #BB457A
split-complementary
#B5BB45 #457ABB #8645BB
monochromatic
#5F6224 #8A8F34 #B5BB45 #C7CB72 #D9DC9F
Accessibility & contrast
On white
2.07
#B5BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#B5BB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BB45
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BB45 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#C1B0A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b5bb45; /* rgb */ color: rgb(181, 187, 69); /* oklch */ color: oklch(76.5% 0.140 112.0);
Tailwind
colors: {
custom: {
50: '#cecf7e',
500: '#b5bb45',
950: '#000000',
},
}SCSS
$custom: #b5bb45; $custom-light: #cecf7e; $custom-dark: #000000;
JSON
{
"hex": "#b5bb45",
"rgb": {
"r": 181,
"g": 187,
"b": 69
},
"hsl": {
"h": 63.051,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.7648,
"c": 0.13983,
"h": 112
},
"luminance": 0.45794
}Semantic roles & 50–950 ramp
primary
#B5BB45
secondary
#9694C8
accent
#52D658
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C