#B9BF38#B9BF38
#B9BF38 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.152 H 112.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B9BF38 |
|---|---|
| RGB | rgb(185, 191, 56) |
| HSL | hsl(63, 55%, 48%) |
| HSV | hsv(63, 71%, 75%) |
| CMYK | cmyk(3.1%, 0%, 70.7%, 25.1%) |
| CIE-LAB | lab(74.74, -18.45, 63.56) |
| CIE-LCH | lch(74.74, 66.19, 106.18°) |
| OKLab | oklab(77.59% -0.057 0.1412) |
| OKLCH | oklch(77.59% 0.152 112) |
| XYZ | xyz(39.3534, 47.8624, 10.9059) |
| Luminance | 0.4786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.07
Bile
#B5C306
ΔE00 3.11
Baby Puke Green
#B6C406
ΔE00 3.22
Puke Yellow
#C2BE0E
ΔE00 3.89
Mustard Green
#A8B504
ΔE00 3.89
Pea
#A4BF20
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9BF38 #3E38BF
analogous
#BF8138 #B9BF38 #75BF38
triadic
#B9BF38 #38B9BF #BF38B9
tetradic
#B9BF38 #38BF81 #3E38BF #BF3875
square
#B9BF38 #38BF81 #3E38BF #BF3875
split-complementary
#B9BF38 #3875BF #8138BF
monochromatic
#5D601C #8B902A #B9BF38 #CCD163 #DCDF92
Accessibility & contrast
On white
1.99
#B9BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.57
#B9BF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9BF38
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9BF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9BF38 | 1.00 | 1.99 | 10.57 | 10.57 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b9bf38; /* rgb */ color: rgb(185, 191, 56); /* oklch */ color: oklch(77.6% 0.152 112.0);
Tailwind
colors: {
custom: {
50: '#d1d278',
500: '#b9bf38',
950: '#000000',
},
}SCSS
$custom: #b9bf38; $custom-light: #d1d278; $custom-dark: #000000;
JSON
{
"hex": "#b9bf38",
"rgb": {
"r": 185,
"g": 191,
"b": 56
},
"hsl": {
"h": 62.667,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.77589,
"c": 0.15228,
"h": 112
},
"luminance": 0.47861
}Semantic roles & 50–950 ramp
primary
#B9BF38
secondary
#8C89CA
accent
#4ADE50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B