#B3B52B#B3B52B
#B3B52B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.151 H 110.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B52B |
|---|---|
| RGB | rgb(179, 181, 43) |
| HSL | hsl(61, 62%, 44%) |
| HSV | hsv(61, 76%, 71%) |
| CMYK | cmyk(1.1%, 0%, 76.2%, 29%) |
| CIE-LAB | lab(71.42, -16.57, 64.67) |
| CIE-LCH | lch(71.42, 66.76, 104.37°) |
| OKLab | oklab(74.8% -0.0526 0.1414) |
| OKLCH | oklch(74.8% 0.151 110.4) |
| XYZ | xyz(35.5516, 42.8069, 8.6748) |
| Luminance | 0.4281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.84
Snot
#ACBB0D
ΔE00 3.30
Puke Yellow
#C2BE0E
ΔE00 3.96
Olive Yellow
#C2B709
ΔE00 4.26
Bile
#B5C306
ΔE00 4.55
Puke
#A5A502
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B52B #2D2BB5
analogous
#B5722B #B3B52B #6EB52B
triadic
#B3B52B #2BB3B5 #B52BB3
tetradic
#B3B52B #2BB572 #2D2BB5 #B52B6E
square
#B3B52B #2BB572 #2D2BB5 #B52B6E
split-complementary
#B3B52B #2B6EB5 #722BB5
monochromatic
#515214 #82841F #B3B52B #D2D449 #DEE07B
Accessibility & contrast
On white
2.20
#B3B52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#B3B52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B52B
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B52B | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD05
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b3b52b; /* rgb */ color: rgb(179, 181, 43); /* oklch */ color: oklch(74.8% 0.151 110.4);
Tailwind
colors: {
custom: {
50: '#cdca70',
500: '#b3b52b',
950: '#000000',
},
}SCSS
$custom: #b3b52b; $custom-light: #cdca70; $custom-dark: #000000;
JSON
{
"hex": "#b3b52b",
"rgb": {
"r": 179,
"g": 181,
"b": 43
},
"hsl": {
"h": 60.87,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.74797,
"c": 0.15091,
"h": 110.4
},
"luminance": 0.42806
}Semantic roles & 50–950 ramp
primary
#B3B52B
secondary
#7574C8
accent
#43E545
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B