#B2BD31#B2BD31
#B2BD31 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.156 H 114.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BD31 |
|---|---|
| RGB | rgb(178, 189, 49) |
| HSL | hsl(65, 59%, 47%) |
| HSV | hsv(65, 74%, 74%) |
| CMYK | cmyk(5.8%, 0%, 74.1%, 25.9%) |
| CIE-LAB | lab(73.60, -20.75, 64.71) |
| CIE-LCH | lch(73.60, 67.96, 107.78°) |
| OKLab | oklab(76.53% -0.0637 0.1427) |
| OKLCH | oklch(76.53% 0.156 114.1) |
| XYZ | xyz(37.1132, 46.0827, 9.8449) |
| Luminance | 0.4608 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.02
Bile
#B5C306
ΔE00 2.87
Mustard Green
#A8B504
ΔE00 2.89
Baby Puke Green
#B6C406
ΔE00 3.05
Pea
#A4BF20
ΔE00 3.30
Gross Green
#A0BF16
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BD31 #3C31BD
analogous
#BD8231 #B2BD31 #6CBD31
triadic
#B2BD31 #31B2BD #BD31B2
tetradic
#B2BD31 #31BD82 #3C31BD #BD316C
square
#B2BD31 #31BD82 #3C31BD #BD316C
split-complementary
#B2BD31 #316CBD #8231BD
monochromatic
#565C18 #848C24 #B2BD31 #CAD458 #D9E088
Accessibility & contrast
On white
2.06
#B2BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.22
#B2BD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BD31
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BD31 | 1.00 | 2.06 | 10.22 | 10.22 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB412
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#BEB2A2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b2bd31; /* rgb */ color: rgb(178, 189, 49); /* oklch */ color: oklch(76.5% 0.156 114.1);
Tailwind
colors: {
custom: {
50: '#cdd074',
500: '#b2bd31',
950: '#000000',
},
}SCSS
$custom: #b2bd31; $custom-light: #cdd074; $custom-dark: #000000;
JSON
{
"hex": "#b2bd31",
"rgb": {
"r": 178,
"g": 189,
"b": 49
},
"hsl": {
"h": 64.714,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.76529,
"c": 0.15621,
"h": 114.1
},
"luminance": 0.46082
}Semantic roles & 50–950 ramp
primary
#B2BD31
secondary
#8680CA
accent
#46E252
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B