#B1B31E#B1B31E
#B1B31E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.1% C 0.155 H 110.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B31E |
|---|---|
| RGB | rgb(177, 179, 30) |
| HSL | hsl(61, 71%, 41%) |
| HSV | hsv(61, 83%, 70%) |
| CMYK | cmyk(1.1%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(70.65, -16.87, 67.57) |
| CIE-LCH | lch(70.65, 69.65, 104.02°) |
| OKLab | oklab(74.12% -0.0543 0.1454) |
| OKLCH | oklch(74.12% 0.155 110.5) |
| XYZ | xyz(34.4872, 41.6821, 7.4568) |
| Luminance | 0.4168 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.53
Snot
#ACBB0D
ΔE00 3.32
Puke Yellow
#C2BE0E
ΔE00 3.97
Puke
#A5A502
ΔE00 4.00
Olive Yellow
#C2B709
ΔE00 4.06
Vomit
#A2A415
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B31E #201EB3
analogous
#B36A1E #B1B31E #66B31E
triadic
#B1B31E #1EB1B3 #B31EB1
tetradic
#B1B31E #1EB36A #201EB3 #B31E66
square
#B1B31E #1EB36A #201EB3 #B31E66
split-complementary
#B1B31E #1E66B3 #6A1EB3
monochromatic
#494A0C #7D7F15 #B1B31E #DADD32 #E4E566
Accessibility & contrast
On white
2.25
#B1B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#B1B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B31E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B31E | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AF2D
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b1b31e; /* rgb */ color: rgb(177, 179, 30); /* oklch */ color: oklch(74.1% 0.155 110.5);
Tailwind
colors: {
custom: {
50: '#ccc96a',
500: '#b1b31e',
950: '#000000',
},
}SCSS
$custom: #b1b31e; $custom-light: #ccc96a; $custom-dark: #000000;
JSON
{
"hex": "#b1b31e",
"rgb": {
"r": 177,
"g": 179,
"b": 30
},
"hsl": {
"h": 60.805,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.74122,
"c": 0.15524,
"h": 110.5
},
"luminance": 0.41681
}Semantic roles & 50–950 ramp
primary
#B1B31E
secondary
#6462CB
accent
#3AEE3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A