#B7BF2A#B7BF2A
#B7BF2A is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.161 H 112.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF2A |
|---|---|
| RGB | rgb(183, 191, 42) |
| HSL | hsl(63, 64%, 46%) |
| HSV | hsv(63, 78%, 75%) |
| CMYK | cmyk(4.2%, 0%, 78%, 25.1%) |
| CIE-LAB | lab(74.51, -19.91, 67.89) |
| CIE-LCH | lch(74.51, 70.75, 106.35°) |
| OKLab | oklab(77.34% -0.0622 0.148) |
| OKLCH | oklch(77.34% 0.161 112.8) |
| XYZ | xyz(38.5784, 47.4970, 9.3256) |
| Luminance | 0.4750 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.08
Snot
#ACBB0D
ΔE00 2.20
Baby Puke Green
#B6C406
ΔE00 2.23
Mustard Green
#A8B504
ΔE00 3.26
Puke Yellow
#C2BE0E
ΔE00 3.50
Pea
#A4BF20
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF2A #322ABF
analogous
#BF7C2A #B7BF2A #6DBF2A
triadic
#B7BF2A #2AB7BF #BF2AB7
tetradic
#B7BF2A #2ABF7C #322ABF #BF2A6D
square
#B7BF2A #2ABF7C #322ABF #BF2A6D
split-complementary
#B7BF2A #2A6DBF #7C2ABF
monochromatic
#575B14 #878D1F #B7BF2A #D1D84E #DEE380
Accessibility & contrast
On white
2.00
#B7BF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#B7BF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF2A
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF2A | 1.00 | 2.00 | 10.50 | 10.50 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7bf2a; /* rgb */ color: rgb(183, 191, 42); /* oklch */ color: oklch(77.3% 0.161 112.8);
Tailwind
colors: {
custom: {
50: '#d0d271',
500: '#b7bf2a',
950: '#000000',
},
}SCSS
$custom: #b7bf2a; $custom-light: #d0d271; $custom-dark: #000000;
JSON
{
"hex": "#b7bf2a",
"rgb": {
"r": 183,
"g": 191,
"b": 42
},
"hsl": {
"h": 63.221,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.77341,
"c": 0.1605,
"h": 112.8
},
"luminance": 0.47496
}Semantic roles & 50–950 ramp
primary
#B7BF2A
secondary
#7D79CC
accent
#41E74A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B