#B1B22E#B1B22E
#B1B22E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.147 H 110.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B22E |
|---|---|
| RGB | rgb(177, 178, 46) |
| HSL | hsl(60, 59%, 44%) |
| HSV | hsv(60, 74%, 70%) |
| CMYK | cmyk(0.6%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(70.45, -15.78, 62.73) |
| CIE-LCH | lch(70.45, 64.68, 104.12°) |
| OKLab | oklab(73.98% -0.0501 0.1379) |
| OKLCH | oklch(73.98% 0.147 110) |
| XYZ | xyz(34.5462, 41.3862, 8.7528) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.22
Snot
#ACBB0D
ΔE00 3.98
Puke
#A5A502
ΔE00 4.06
Vomit
#A2A415
ΔE00 4.20
Olive Yellow
#C2B709
ΔE00 4.64
Puke Yellow
#C2BE0E
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B22E #2F2EB2
analogous
#B2712E #B1B22E #6FB22E
triadic
#B1B22E #2EB1B2 #B22EB1
tetradic
#B1B22E #2EB271 #2F2EB2 #B22E6F
square
#B1B22E #2EB271 #2F2EB2 #B22E6F
split-complementary
#B1B22E #2E6FB2 #712EB2
monochromatic
#505115 #818121 #B1B22E #D0D14C #DDDD7D
Accessibility & contrast
On white
2.26
#B1B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#B1B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B22E
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B22E | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b1b22e; /* rgb */ color: rgb(177, 178, 46); /* oklch */ color: oklch(74.0% 0.147 110.0);
Tailwind
colors: {
custom: {
50: '#ccc871',
500: '#b1b22e',
950: '#000000',
},
}SCSS
$custom: #b1b22e; $custom-light: #ccc871; $custom-dark: #000000;
JSON
{
"hex": "#b1b22e",
"rgb": {
"r": 177,
"g": 178,
"b": 46
},
"hsl": {
"h": 60.455,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.73981,
"c": 0.14675,
"h": 110
},
"luminance": 0.41385
}Semantic roles & 50–950 ramp
primary
#B1B22E
secondary
#7676C6
accent
#46E247
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B