#B2BF38#B2BF38
#B2BF38 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.154 H 114.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BF38 |
|---|---|
| RGB | rgb(178, 191, 56) |
| HSL | hsl(66, 55%, 48%) |
| HSV | hsv(66, 71%, 75%) |
| CMYK | cmyk(6.8%, 0%, 70.7%, 25.1%) |
| CIE-LAB | lab(74.20, -21.40, 62.85) |
| CIE-LCH | lch(74.20, 66.39, 108.80°) |
| OKLab | oklab(77.02% -0.0648 0.1399) |
| OKLCH | oklch(77.02% 0.154 114.9) |
| XYZ | xyz(37.7057, 47.0128, 10.8287) |
| Luminance | 0.4701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.62
Pea
#A4BF20
ΔE00 3.05
Bile
#B5C306
ΔE00 3.19
Baby Puke Green
#B6C406
ΔE00 3.33
Mustard Green
#A8B504
ΔE00 3.59
Gross Green
#A0BF16
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BF38 #4538BF
analogous
#BF8838 #B2BF38 #6EBF38
triadic
#B2BF38 #38B2BF #BF38B2
tetradic
#B2BF38 #38BF88 #4538BF #BF386E
square
#B2BF38 #38BF88 #4538BF #BF386E
split-complementary
#B2BF38 #386EBF #8838BF
monochromatic
#5A601C #86902A #B2BF38 #C7D163 #D8DF92
Accessibility & contrast
On white
2.02
#B2BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#B2BF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BF38
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BF38 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB520
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#BEB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b2bf38; /* rgb */ color: rgb(178, 191, 56); /* oklch */ color: oklch(77.0% 0.154 114.9);
Tailwind
colors: {
custom: {
50: '#ccd277',
500: '#b2bf38',
950: '#000000',
},
}SCSS
$custom: #b2bf38; $custom-light: #ccd277; $custom-dark: #000000;
JSON
{
"hex": "#b2bf38",
"rgb": {
"r": 178,
"g": 191,
"b": 56
},
"hsl": {
"h": 65.778,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.77023,
"c": 0.1542,
"h": 114.9
},
"luminance": 0.47012
}Semantic roles & 50–950 ramp
primary
#B2BF38
secondary
#8F89CA
accent
#4ADE58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B