#B1BF38#B1BF38
#B1BF38 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.155 H 115.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BF38 |
|---|---|
| RGB | rgb(177, 191, 56) |
| HSL | hsl(66, 55%, 48%) |
| HSV | hsv(66, 71%, 75%) |
| CMYK | cmyk(7.3%, 0%, 70.7%, 25.1%) |
| CIE-LAB | lab(74.12, -21.81, 62.75) |
| CIE-LCH | lch(74.12, 66.44, 109.17°) |
| OKLab | oklab(76.94% -0.0659 0.1397) |
| OKLCH | oklch(76.94% 0.155 115.3) |
| XYZ | xyz(37.4771, 46.8949, 10.8180) |
| Luminance | 0.4689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.64
Pea
#A4BF20
ΔE00 2.86
Bile
#B5C306
ΔE00 3.28
Baby Puke Green
#B6C406
ΔE00 3.42
Mustard Green
#A8B504
ΔE00 3.61
Gross Green
#A0BF16
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BF38 #4638BF
analogous
#BF8938 #B1BF38 #6DBF38
triadic
#B1BF38 #38B1BF #BF38B1
tetradic
#B1BF38 #38BF89 #4638BF #BF386D
square
#B1BF38 #38BF89 #4638BF #BF386D
split-complementary
#B1BF38 #386DBF #8938BF
monochromatic
#59601C #85902A #B1BF38 #C6D163 #D7DF92
Accessibility & contrast
On white
2.02
#B1BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#B1BF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BF38
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BF38 | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB521
Deuteranopia (green-blind)
#CCB743
Tritanopia (blue-blind)
#BCB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b1bf38; /* rgb */ color: rgb(177, 191, 56); /* oklch */ color: oklch(76.9% 0.155 115.3);
Tailwind
colors: {
custom: {
50: '#ccd277',
500: '#b1bf38',
950: '#000000',
},
}SCSS
$custom: #b1bf38; $custom-light: #ccd277; $custom-dark: #000000;
JSON
{
"hex": "#b1bf38",
"rgb": {
"r": 177,
"g": 191,
"b": 56
},
"hsl": {
"h": 66.222,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.76943,
"c": 0.15451,
"h": 115.3
},
"luminance": 0.46894
}Semantic roles & 50–950 ramp
primary
#B1BF38
secondary
#8F89CA
accent
#4ADE59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B