#B5BF38#B5BF38
#B5BF38 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.153 H 113.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BF38 |
|---|---|
| RGB | rgb(181, 191, 56) |
| HSL | hsl(64, 55%, 48%) |
| HSV | hsv(64, 71%, 75%) |
| CMYK | cmyk(5.2%, 0%, 70.7%, 25.1%) |
| CIE-LAB | lab(74.43, -20.14, 63.15) |
| CIE-LCH | lch(74.43, 66.29, 107.68°) |
| OKLab | oklab(77.26% -0.0615 0.1405) |
| OKLCH | oklch(77.26% 0.153 113.6) |
| XYZ | xyz(38.4018, 47.3717, 10.8613) |
| Luminance | 0.4737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.69
Bile
#B5C306
ΔE00 3.04
Baby Puke Green
#B6C406
ΔE00 3.17
Mustard Green
#A8B504
ΔE00 3.63
Pea
#A4BF20
ΔE00 3.66
Gross Green
#A0BF16
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BF38 #4238BF
analogous
#BF8538 #B5BF38 #72BF38
triadic
#B5BF38 #38B5BF #BF38B5
tetradic
#B5BF38 #38BF85 #4238BF #BF3872
square
#B5BF38 #38BF85 #4238BF #BF3872
split-complementary
#B5BF38 #3872BF #8538BF
monochromatic
#5B601C #88902A #B5BF38 #C9D163 #D9DF92
Accessibility & contrast
On white
2.00
#B5BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#B5BF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BF38
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BF38 | 1.00 | 2.00 | 10.47 | 10.47 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b5bf38; /* rgb */ color: rgb(181, 191, 56); /* oklch */ color: oklch(77.3% 0.153 113.6);
Tailwind
colors: {
custom: {
50: '#cfd277',
500: '#b5bf38',
950: '#000000',
},
}SCSS
$custom: #b5bf38; $custom-light: #cfd277; $custom-dark: #000000;
JSON
{
"hex": "#b5bf38",
"rgb": {
"r": 181,
"g": 191,
"b": 56
},
"hsl": {
"h": 64.444,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.77263,
"c": 0.15333,
"h": 113.6
},
"luminance": 0.47371
}Semantic roles & 50–950 ramp
primary
#B5BF38
secondary
#8E89CA
accent
#4ADE55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B