#B1B427#B1B427
#B1B427 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.4% C 0.152 H 110.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B427 |
|---|---|
| RGB | rgb(177, 180, 39) |
| HSL | hsl(61, 64%, 43%) |
| HSV | hsv(61, 78%, 71%) |
| CMYK | cmyk(1.7%, 0%, 78.3%, 29.4%) |
| CIE-LAB | lab(70.97, -17.08, 65.42) |
| CIE-LCH | lch(70.97, 67.61, 104.64°) |
| OKLab | oklab(74.39% -0.0543 0.1424) |
| OKLCH | oklch(74.39% 0.152 110.9) |
| XYZ | xyz(34.8202, 42.1371, 8.2181) |
| Luminance | 0.4214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.50
Snot
#ACBB0D
ΔE00 3.15
Puke Yellow
#C2BE0E
ΔE00 4.19
Puke
#A5A502
ΔE00 4.36
Olive Yellow
#C2B709
ΔE00 4.45
Bile
#B5C306
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B427 #2A27B4
analogous
#B47127 #B1B427 #6AB427
triadic
#B1B427 #27B1B4 #B427B1
tetradic
#B1B427 #27B471 #2A27B4 #B4276A
square
#B1B427 #27B471 #2A27B4 #B4276A
split-complementary
#B1B427 #276AB4 #7127B4
monochromatic
#4E4F11 #80821C #B1B427 #D3D642 #DFE174
Accessibility & contrast
On white
2.23
#B1B427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#B1B427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B427
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B427 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4AF34
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b427; /* rgb */ color: rgb(177, 180, 39); /* oklch */ color: oklch(74.4% 0.152 110.9);
Tailwind
colors: {
custom: {
50: '#ccca6e',
500: '#b1b427',
950: '#000000',
},
}SCSS
$custom: #b1b427; $custom-light: #ccca6e; $custom-dark: #000000;
JSON
{
"hex": "#b1b427",
"rgb": {
"r": 177,
"g": 180,
"b": 39
},
"hsl": {
"h": 61.277,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.74385,
"c": 0.15239,
"h": 110.9
},
"luminance": 0.42136
}Semantic roles & 50–950 ramp
primary
#B1B427
secondary
#706FC8
accent
#40E744
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B