#B1B628#B1B628
#B1B628 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.154 H 111.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B628 |
|---|---|
| RGB | rgb(177, 182, 40) |
| HSL | hsl(62, 64%, 44%) |
| HSV | hsv(62, 78%, 71%) |
| CMYK | cmyk(2.7%, 0%, 78%, 28.6%) |
| CIE-LAB | lab(71.53, -18.05, 65.62) |
| CIE-LCH | lch(71.53, 68.06, 105.38°) |
| OKLab | oklab(74.83% -0.0569 0.143) |
| OKLCH | oklch(74.83% 0.154 111.7) |
| XYZ | xyz(35.2436, 42.9571, 8.4421) |
| Luminance | 0.4296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.21
Snot
#ACBB0D
ΔE00 2.59
Bile
#B5C306
ΔE00 4.03
Puke Yellow
#C2BE0E
ΔE00 4.12
Baby Puke Green
#B6C406
ΔE00 4.25
Puke Green
#9AAE07
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B628 #2D28B6
analogous
#B67428 #B1B628 #6AB628
triadic
#B1B628 #28B1B6 #B628B1
tetradic
#B1B628 #28B674 #2D28B6 #B6286A
square
#B1B628 #28B674 #2D28B6 #B6286A
split-complementary
#B1B628 #286AB6 #7428B6
monochromatic
#4F5212 #80841D #B1B628 #D1D645 #DDE177
Accessibility & contrast
On white
2.19
#B1B628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#B1B628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B628
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B628 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b1b628; /* rgb */ color: rgb(177, 182, 40); /* oklch */ color: oklch(74.8% 0.154 111.7);
Tailwind
colors: {
custom: {
50: '#cccb6f',
500: '#b1b628',
950: '#000000',
},
}SCSS
$custom: #b1b628; $custom-light: #cccb6f; $custom-dark: #000000;
JSON
{
"hex": "#b1b628",
"rgb": {
"r": 177,
"g": 182,
"b": 40
},
"hsl": {
"h": 62.113,
"s": 63.964,
"l": 43.529
},
"oklch": {
"l": 0.74835,
"c": 0.15391,
"h": 111.7
},
"luminance": 0.42956
}Semantic roles & 50–950 ramp
primary
#B1B628
secondary
#7471C9
accent
#41E747
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B