#B2BF2E#B2BF2E
#B2BF2E is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.160 H 114.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BF2E |
|---|---|
| RGB | rgb(178, 191, 46) |
| HSL | hsl(65, 61%, 46%) |
| HSV | hsv(65, 76%, 75%) |
| CMYK | cmyk(6.8%, 0%, 75.9%, 25.1%) |
| CIE-LAB | lab(74.14, -21.87, 66.19) |
| CIE-LCH | lch(74.14, 69.71, 108.28°) |
| OKLab | oklab(76.96% -0.067 0.1453) |
| OKLCH | oklch(76.96% 0.16 114.8) |
| XYZ | xyz(37.4851, 46.9245, 9.6669) |
| Luminance | 0.4692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.89
Bile
#B5C306
ΔE00 2.38
Baby Puke Green
#B6C406
ΔE00 2.54
Pea
#A4BF20
ΔE00 2.92
Mustard Green
#A8B504
ΔE00 3.09
Gross Green
#A0BF16
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BF2E #3B2EBF
analogous
#BF842E #B2BF2E #6ABF2E
triadic
#B2BF2E #2EB2BF #BF2EB2
tetradic
#B2BF2E #2EBF84 #3B2EBF #BF2E6A
square
#B2BF2E #2EBF84 #3B2EBF #BF2E6A
split-complementary
#B2BF2E #2E6ABF #842EBF
monochromatic
#565C16 #848E22 #B2BF2E #CAD654 #DAE286
Accessibility & contrast
On white
2.02
#B2BF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#B2BF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BF2E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BF2E | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB506
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b2bf2e; /* rgb */ color: rgb(178, 191, 46); /* oklch */ color: oklch(77.0% 0.160 114.8);
Tailwind
colors: {
custom: {
50: '#cdd273',
500: '#b2bf2e',
950: '#000000',
},
}SCSS
$custom: #b2bf2e; $custom-light: #cdd273; $custom-dark: #000000;
JSON
{
"hex": "#b2bf2e",
"rgb": {
"r": 178,
"g": 191,
"b": 46
},
"hsl": {
"h": 65.379,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.76959,
"c": 0.15997,
"h": 114.8
},
"luminance": 0.46924
}Semantic roles & 50–950 ramp
primary
#B2BF2E
secondary
#857ECB
accent
#44E452
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B