#B1BF34#B1BF34
#B1BF34 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.157 H 115.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BF34 |
|---|---|
| RGB | rgb(177, 191, 52) |
| HSL | hsl(66, 57%, 48%) |
| HSV | hsv(66, 73%, 75%) |
| CMYK | cmyk(7.3%, 0%, 72.8%, 25.1%) |
| CIE-LAB | lab(74.10, -22.02, 64.14) |
| CIE-LCH | lch(74.10, 67.82, 108.94°) |
| OKLab | oklab(76.92% -0.0669 0.142) |
| OKLCH | oklch(76.92% 0.157 115.2) |
| XYZ | xyz(37.3831, 46.8573, 10.3232) |
| Luminance | 0.4686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.31
Pea
#A4BF20
ΔE00 2.76
Bile
#B5C306
ΔE00 2.93
Baby Puke Green
#B6C406
ΔE00 3.08
Mustard Green
#A8B504
ΔE00 3.38
Gross Green
#A0BF16
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BF34 #4234BF
analogous
#BF8734 #B1BF34 #6CBF34
triadic
#B1BF34 #34B1BF #BF34B1
tetradic
#B1BF34 #34BF87 #4234BF #BF346C
square
#B1BF34 #34BF87 #4234BF #BF346C
split-complementary
#B1BF34 #346CBF #8734BF
monochromatic
#585F1A #848F27 #B1BF34 #C7D35D #D8E08D
Accessibility & contrast
On white
2.02
#B1BF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#B1BF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BF34
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BF34 | 1.00 | 2.02 | 10.37 | 10.37 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB518
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#BCB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b1bf34; /* rgb */ color: rgb(177, 191, 52); /* oklch */ color: oklch(76.9% 0.157 115.2);
Tailwind
colors: {
custom: {
50: '#ccd275',
500: '#b1bf34',
950: '#000000',
},
}SCSS
$custom: #b1bf34; $custom-light: #ccd275; $custom-dark: #000000;
JSON
{
"hex": "#b1bf34",
"rgb": {
"r": 177,
"g": 191,
"b": 52
},
"hsl": {
"h": 66.043,
"s": 57.202,
"l": 47.647
},
"oklch": {
"l": 0.76916,
"c": 0.15695,
"h": 115.2
},
"luminance": 0.46857
}Semantic roles & 50–950 ramp
primary
#B1BF34
secondary
#8B84CA
accent
#47E057
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B