#B1B41B#B1B41B
#B1B41B is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.157 H 110.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B41B |
|---|---|
| RGB | rgb(177, 180, 27) |
| HSL | hsl(61, 74%, 41%) |
| HSV | hsv(61, 85%, 71%) |
| CMYK | cmyk(1.7%, 0%, 85%, 29.4%) |
| CIE-LAB | lab(70.92, -17.46, 68.49) |
| CIE-LCH | lch(70.92, 70.68, 104.30°) |
| OKLab | oklab(74.33% -0.0561 0.1469) |
| OKLCH | oklch(74.33% 0.157 110.9) |
| XYZ | xyz(34.6519, 42.0698, 7.3316) |
| Luminance | 0.4207 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.98
Puke Yellow
#C2BE0E
ΔE00 3.81
Olive Yellow
#C2B709
ΔE00 4.08
Puke
#A5A502
ΔE00 4.25
Bile
#B5C306
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B41B #1E1BB4
analogous
#B46A1B #B1B41B #65B41B
triadic
#B1B41B #1BB1B4 #B41BB1
tetradic
#B1B41B #1BB46A #1E1BB4 #B41B65
square
#B1B41B #1BB46A #1E1BB4 #B41B65
split-complementary
#B1B41B #1B65B4 #6A1BB4
monochromatic
#484A0B #7D7F13 #B1B41B #DCDF2D #E5E762
Accessibility & contrast
On white
2.23
#B1B41B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#B1B41B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B41B
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B41B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B41B | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4AF2C
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b41b; /* rgb */ color: rgb(177, 180, 27); /* oklch */ color: oklch(74.3% 0.157 110.9);
Tailwind
colors: {
custom: {
50: '#cdca6a',
500: '#b1b41b',
950: '#000000',
},
}SCSS
$custom: #b1b41b; $custom-light: #cdca6a; $custom-dark: #000000;
JSON
{
"hex": "#b1b41b",
"rgb": {
"r": 177,
"g": 180,
"b": 27
},
"hsl": {
"h": 61.176,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.74333,
"c": 0.15728,
"h": 110.9
},
"luminance": 0.42069
}Semantic roles & 50–950 ramp
primary
#B1B41B
secondary
#615FCC
accent
#37F13B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A