#B7BF38#B7BF38
#B7BF38 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.153 H 112.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF38 |
|---|---|
| RGB | rgb(183, 191, 56) |
| HSL | hsl(64, 55%, 48%) |
| HSV | hsv(64, 71%, 75%) |
| CMYK | cmyk(4.2%, 0%, 70.7%, 25.1%) |
| CIE-LAB | lab(74.58, -19.29, 63.36) |
| CIE-LCH | lch(74.58, 66.23, 106.94°) |
| OKLab | oklab(77.43% -0.0593 0.1408) |
| OKLCH | oklch(77.43% 0.153 112.8) |
| XYZ | xyz(38.8742, 47.6153, 10.8835) |
| Luminance | 0.4761 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.84
Bile
#B5C306
ΔE00 3.04
Baby Puke Green
#B6C406
ΔE00 3.16
Mustard Green
#A8B504
ΔE00 3.73
Pea
#A4BF20
ΔE00 4.10
Puke Yellow
#C2BE0E
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF38 #4038BF
analogous
#BF8438 #B7BF38 #73BF38
triadic
#B7BF38 #38B7BF #BF38B7
tetradic
#B7BF38 #38BF84 #4038BF #BF3873
square
#B7BF38 #38BF84 #4038BF #BF3873
split-complementary
#B7BF38 #3873BF #8438BF
monochromatic
#5C601C #8A902A #B7BF38 #CBD163 #DBDF92
Accessibility & contrast
On white
2.00
#B7BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#B7BF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF38
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF38 | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7bf38; /* rgb */ color: rgb(183, 191, 56); /* oklch */ color: oklch(77.4% 0.153 112.8);
Tailwind
colors: {
custom: {
50: '#d0d278',
500: '#b7bf38',
950: '#000000',
},
}SCSS
$custom: #b7bf38; $custom-light: #d0d278; $custom-dark: #000000;
JSON
{
"hex": "#b7bf38",
"rgb": {
"r": 183,
"g": 191,
"b": 56
},
"hsl": {
"h": 63.556,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.77425,
"c": 0.15279,
"h": 112.8
},
"luminance": 0.47614
}Semantic roles & 50–950 ramp
primary
#B7BF38
secondary
#8D89CA
accent
#4ADE53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B