#B7BF2C#B7BF2C
#B7BF2C is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.160 H 112.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF2C |
|---|---|
| RGB | rgb(183, 191, 44) |
| HSL | hsl(63, 63%, 46%) |
| HSV | hsv(63, 77%, 75%) |
| CMYK | cmyk(4.2%, 0%, 77%, 25.1%) |
| CIE-LAB | lab(74.52, -19.84, 67.30) |
| CIE-LCH | lch(74.52, 70.16, 106.42°) |
| OKLab | oklab(77.35% -0.0618 0.1471) |
| OKLCH | oklch(77.35% 0.16 112.8) |
| XYZ | xyz(38.6151, 47.5116, 9.5189) |
| Luminance | 0.4751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.19
Snot
#ACBB0D
ΔE00 2.26
Baby Puke Green
#B6C406
ΔE00 2.34
Mustard Green
#A8B504
ΔE00 3.30
Puke Yellow
#C2BE0E
ΔE00 3.59
Pea
#A4BF20
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF2C #342CBF
analogous
#BF7D2C #B7BF2C #6DBF2C
triadic
#B7BF2C #2CB7BF #BF2CB7
tetradic
#B7BF2C #2CBF7D #342CBF #BF2C6D
square
#B7BF2C #2CBF7D #342CBF #BF2C6D
split-complementary
#B7BF2C #2C6DBF #7D2CBF
monochromatic
#585C15 #878D21 #B7BF2C #D0D751 #DDE283
Accessibility & contrast
On white
2.00
#B7BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#B7BF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF2C
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF2C | 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)
#CEB939
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7bf2c; /* rgb */ color: rgb(183, 191, 44); /* oklch */ color: oklch(77.4% 0.160 112.8);
Tailwind
colors: {
custom: {
50: '#d0d272',
500: '#b7bf2c',
950: '#000000',
},
}SCSS
$custom: #b7bf2c; $custom-light: #d0d272; $custom-dark: #000000;
JSON
{
"hex": "#b7bf2c",
"rgb": {
"r": 183,
"g": 191,
"b": 44
},
"hsl": {
"h": 63.265,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.77351,
"c": 0.15953,
"h": 112.8
},
"luminance": 0.47511
}Semantic roles & 50–950 ramp
primary
#B7BF2C
secondary
#807BCC
accent
#42E64B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B