#B4BF38#B4BF38
#B4BF38 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.154 H 114.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF38 |
|---|---|
| RGB | rgb(180, 191, 56) |
| HSL | hsl(65, 55%, 48%) |
| HSV | hsv(65, 71%, 75%) |
| CMYK | cmyk(5.8%, 0%, 70.7%, 25.1%) |
| CIE-LAB | lab(74.35, -20.56, 63.05) |
| CIE-LCH | lch(74.35, 66.32, 108.06°) |
| OKLab | oklab(77.18% -0.0626 0.1403) |
| OKLCH | oklch(77.18% 0.154 114.1) |
| XYZ | xyz(38.1681, 47.2512, 10.8504) |
| Luminance | 0.4725 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.64
Bile
#B5C306
ΔE00 3.07
Baby Puke Green
#B6C406
ΔE00 3.21
Pea
#A4BF20
ΔE00 3.45
Mustard Green
#A8B504
ΔE00 3.60
Gross Green
#A0BF16
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF38 #4338BF
analogous
#BF8638 #B4BF38 #70BF38
triadic
#B4BF38 #38B4BF #BF38B4
tetradic
#B4BF38 #38BF86 #4338BF #BF3870
square
#B4BF38 #38BF86 #4338BF #BF3870
split-complementary
#B4BF38 #3870BF #8638BF
monochromatic
#5B601C #87902A #B4BF38 #C8D163 #D9DF92
Accessibility & contrast
On white
2.01
#B4BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#B4BF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF38
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF38 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf38; /* rgb */ color: rgb(180, 191, 56); /* oklch */ color: oklch(77.2% 0.154 114.1);
Tailwind
colors: {
custom: {
50: '#ced277',
500: '#b4bf38',
950: '#000000',
},
}SCSS
$custom: #b4bf38; $custom-light: #ced277; $custom-dark: #000000;
JSON
{
"hex": "#b4bf38",
"rgb": {
"r": 180,
"g": 191,
"b": 56
},
"hsl": {
"h": 64.889,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.77182,
"c": 0.15362,
"h": 114.1
},
"luminance": 0.4725
}Semantic roles & 50–950 ramp
primary
#B4BF38
secondary
#8E89CA
accent
#4ADE56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B