#B2BF2D#B2BF2D
#B2BF2D 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 | #B2BF2D |
|---|---|
| RGB | rgb(178, 191, 45) |
| HSL | hsl(65, 62%, 46%) |
| HSV | hsv(65, 76%, 75%) |
| CMYK | cmyk(6.8%, 0%, 76.4%, 25.1%) |
| CIE-LAB | lab(74.14, -21.91, 66.50) |
| CIE-LCH | lch(74.14, 70.02, 108.24°) |
| OKLab | oklab(76.95% -0.0672 0.1457) |
| OKLCH | oklch(76.95% 0.16 114.8) |
| XYZ | xyz(37.4657, 46.9167, 9.5643) |
| Luminance | 0.4692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.83
Bile
#B5C306
ΔE00 2.30
Baby Puke Green
#B6C406
ΔE00 2.48
Pea
#A4BF20
ΔE00 2.92
Mustard Green
#A8B504
ΔE00 3.05
Gross Green
#A0BF16
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BF2D #3A2DBF
analogous
#BF832D #B2BF2D #69BF2D
triadic
#B2BF2D #2DB2BF #BF2DB2
tetradic
#B2BF2D #2DBF83 #3A2DBF #BF2D69
square
#B2BF2D #2DBF83 #3A2DBF #BF2D69
split-complementary
#B2BF2D #2D69BF #832DBF
monochromatic
#565C16 #848D21 #B2BF2D #CBD653 #DAE284
Accessibility & contrast
On white
2.02
#B2BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#B2BF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BF2D
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BF2D | 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)
#CDB503
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b2bf2d; /* rgb */ color: rgb(178, 191, 45); /* oklch */ color: oklch(77.0% 0.160 114.8);
Tailwind
colors: {
custom: {
50: '#cdd272',
500: '#b2bf2d',
950: '#000000',
},
}SCSS
$custom: #b2bf2d; $custom-light: #cdd272; $custom-dark: #000000;
JSON
{
"hex": "#b2bf2d",
"rgb": {
"r": 178,
"g": 191,
"b": 45
},
"hsl": {
"h": 65.342,
"s": 61.864,
"l": 46.275
},
"oklch": {
"l": 0.76954,
"c": 0.16049,
"h": 114.8
},
"luminance": 0.46916
}Semantic roles & 50–950 ramp
primary
#B2BF2D
secondary
#837CCB
accent
#43E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B