#B7BF34#B7BF34
#B7BF34 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.155 H 112.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF34 |
|---|---|
| RGB | rgb(183, 191, 52) |
| HSL | hsl(63, 57%, 48%) |
| HSV | hsv(63, 73%, 75%) |
| CMYK | cmyk(4.2%, 0%, 72.8%, 25.1%) |
| CIE-LAB | lab(74.56, -19.49, 64.74) |
| CIE-LCH | lch(74.56, 67.61, 106.75°) |
| OKLab | oklab(77.4% -0.0602 0.1431) |
| OKLCH | oklch(77.4% 0.155 112.8) |
| XYZ | xyz(38.7803, 47.5777, 10.3887) |
| Luminance | 0.4758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.60
Bile
#B5C306
ΔE00 2.72
Baby Puke Green
#B6C406
ΔE00 2.85
Mustard Green
#A8B504
ΔE00 3.55
Puke Yellow
#C2BE0E
ΔE00 4.03
Pea
#A4BF20
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF34 #3C34BF
analogous
#BF8134 #B7BF34 #72BF34
triadic
#B7BF34 #34B7BF #BF34B7
tetradic
#B7BF34 #34BF81 #3C34BF #BF3472
square
#B7BF34 #34BF81 #3C34BF #BF3472
split-complementary
#B7BF34 #3472BF #8134BF
monochromatic
#5B5F1A #898F27 #B7BF34 #CCD35D #DBE08D
Accessibility & contrast
On white
2.00
#B7BF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#B7BF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF34
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF34 | 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)
#CDB618
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#C3B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7bf34; /* rgb */ color: rgb(183, 191, 52); /* oklch */ color: oklch(77.4% 0.155 112.8);
Tailwind
colors: {
custom: {
50: '#d0d275',
500: '#b7bf34',
950: '#000000',
},
}SCSS
$custom: #b7bf34; $custom-light: #d0d275; $custom-dark: #000000;
JSON
{
"hex": "#b7bf34",
"rgb": {
"r": 183,
"g": 191,
"b": 52
},
"hsl": {
"h": 63.453,
"s": 57.202,
"l": 47.647
},
"oklch": {
"l": 0.77398,
"c": 0.15521,
"h": 112.8
},
"luminance": 0.47577
}Semantic roles & 50–950 ramp
primary
#B7BF34
secondary
#8884CA
accent
#47E050
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B