#B1BD31#B1BD31
#B1BD31 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.4% C 0.157 H 114.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BD31 |
|---|---|
| RGB | rgb(177, 189, 49) |
| HSL | hsl(65, 59%, 47%) |
| HSV | hsv(65, 74%, 74%) |
| CMYK | cmyk(6.3%, 0%, 74.1%, 25.9%) |
| CIE-LAB | lab(73.52, -21.17, 64.62) |
| CIE-LCH | lch(73.52, 68.00, 108.14°) |
| OKLab | oklab(76.45% -0.0648 0.1425) |
| OKLCH | oklch(76.45% 0.157 114.5) |
| XYZ | xyz(36.8845, 45.9648, 9.8342) |
| Luminance | 0.4596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.99
Mustard Green
#A8B504
ΔE00 2.88
Bile
#B5C306
ΔE00 2.92
Pea
#A4BF20
ΔE00 3.08
Baby Puke Green
#B6C406
ΔE00 3.10
Gross Green
#A0BF16
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BD31 #3D31BD
analogous
#BD8331 #B1BD31 #6BBD31
triadic
#B1BD31 #31B1BD #BD31B1
tetradic
#B1BD31 #31BD83 #3D31BD #BD316B
square
#B1BD31 #31BD83 #3D31BD #BD316B
split-complementary
#B1BD31 #316BBD #8331BD
monochromatic
#565C18 #838C24 #B1BD31 #C9D458 #D9E088
Accessibility & contrast
On white
2.06
#B1BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#B1BD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BD31
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BD31 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#BDB2A2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b1bd31; /* rgb */ color: rgb(177, 189, 49); /* oklch */ color: oklch(76.4% 0.157 114.5);
Tailwind
colors: {
custom: {
50: '#ccd074',
500: '#b1bd31',
950: '#000000',
},
}SCSS
$custom: #b1bd31; $custom-light: #ccd074; $custom-dark: #000000;
JSON
{
"hex": "#b1bd31",
"rgb": {
"r": 177,
"g": 189,
"b": 49
},
"hsl": {
"h": 65.143,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.76449,
"c": 0.15651,
"h": 114.5
},
"luminance": 0.45964
}Semantic roles & 50–950 ramp
primary
#B1BD31
secondary
#8680CA
accent
#46E253
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B