#B5BF2D#B5BF2D
#B5BF2D is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.160 H 113.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BF2D |
|---|---|
| RGB | rgb(181, 191, 45) |
| HSL | hsl(64, 62%, 46%) |
| HSV | hsv(64, 76%, 75%) |
| CMYK | cmyk(5.2%, 0%, 76.4%, 25.1%) |
| CIE-LAB | lab(74.37, -20.64, 66.80) |
| CIE-LCH | lch(74.37, 69.91, 107.17°) |
| OKLab | oklab(77.19% -0.0639 0.1463) |
| OKLCH | oklch(77.19% 0.16 113.6) |
| XYZ | xyz(38.1617, 47.2756, 9.5969) |
| Luminance | 0.4728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.03
Bile
#B5C306
ΔE00 2.19
Baby Puke Green
#B6C406
ΔE00 2.35
Mustard Green
#A8B504
ΔE00 3.16
Pea
#A4BF20
ΔE00 3.61
Puke Yellow
#C2BE0E
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BF2D #372DBF
analogous
#BF802D #B5BF2D #6CBF2D
triadic
#B5BF2D #2DB5BF #BF2DB5
tetradic
#B5BF2D #2DBF80 #372DBF #BF2D6C
square
#B5BF2D #2DBF80 #372DBF #BF2D6C
split-complementary
#B5BF2D #2D6CBF #802DBF
monochromatic
#575C16 #868D21 #B5BF2D #CDD653 #DCE284
Accessibility & contrast
On white
2.01
#B5BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.46
#B5BF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BF2D
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BF2D | 1.00 | 2.01 | 10.46 | 10.46 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB602
Deuteranopia (green-blind)
#CDB83A
Tritanopia (blue-blind)
#C1B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b5bf2d; /* rgb */ color: rgb(181, 191, 45); /* oklch */ color: oklch(77.2% 0.160 113.6);
Tailwind
colors: {
custom: {
50: '#cfd272',
500: '#b5bf2d',
950: '#000000',
},
}SCSS
$custom: #b5bf2d; $custom-light: #cfd272; $custom-dark: #000000;
JSON
{
"hex": "#b5bf2d",
"rgb": {
"r": 181,
"g": 191,
"b": 45
},
"hsl": {
"h": 64.11,
"s": 61.864,
"l": 46.275
},
"oklch": {
"l": 0.77194,
"c": 0.15959,
"h": 113.6
},
"luminance": 0.47275
}Semantic roles & 50–950 ramp
primary
#B5BF2D
secondary
#827CCB
accent
#43E54E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B