#B1B229#B1B229
#B1B229 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.149 H 110.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B229 |
|---|---|
| RGB | rgb(177, 178, 41) |
| HSL | hsl(60, 63%, 43%) |
| HSV | hsv(60, 77%, 70%) |
| CMYK | cmyk(0.6%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(70.42, -15.99, 64.32) |
| CIE-LCH | lch(70.42, 66.28, 103.96°) |
| OKLab | oklab(73.95% -0.0511 0.1404) |
| OKLCH | oklch(73.95% 0.149 110) |
| XYZ | xyz(34.4534, 41.3490, 8.2637) |
| Luminance | 0.4135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.01
Snot
#ACBB0D
ΔE00 3.82
Puke
#A5A502
ΔE00 3.91
Vomit
#A2A415
ΔE00 4.15
Olive Yellow
#C2B709
ΔE00 4.38
Puke Yellow
#C2BE0E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B229 #2A29B2
analogous
#B26E29 #B1B229 #6CB229
triadic
#B1B229 #29B1B2 #B229B1
tetradic
#B1B229 #29B26E #2A29B2 #B2296C
square
#B1B229 #29B26E #2A29B2 #B2296C
split-complementary
#B1B229 #296CB2 #6E29B2
monochromatic
#4E4F12 #80801E #B1B229 #D3D444 #DFDF76
Accessibility & contrast
On white
2.27
#B1B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#B1B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B229
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B229 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA01
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#BEA699
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b1b229; /* rgb */ color: rgb(177, 178, 41); /* oklch */ color: oklch(74.0% 0.149 110.0);
Tailwind
colors: {
custom: {
50: '#ccc86f',
500: '#b1b229',
950: '#000000',
},
}SCSS
$custom: #b1b229; $custom-light: #ccc86f; $custom-dark: #000000;
JSON
{
"hex": "#b1b229",
"rgb": {
"r": 177,
"g": 178,
"b": 41
},
"hsl": {
"h": 60.438,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.73952,
"c": 0.14941,
"h": 110
},
"luminance": 0.41348
}Semantic roles & 50–950 ramp
primary
#B1B229
secondary
#7070C7
accent
#42E643
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B