#B3B52D#B3B52D
#B3B52D is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.150 H 110.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B52D |
|---|---|
| RGB | rgb(179, 181, 45) |
| HSL | hsl(61, 60%, 44%) |
| HSV | hsv(61, 75%, 71%) |
| CMYK | cmyk(1.1%, 0%, 75.1%, 29%) |
| CIE-LAB | lab(71.43, -16.49, 64.04) |
| CIE-LCH | lch(71.43, 66.13, 104.44°) |
| OKLab | oklab(74.81% -0.0522 0.1405) |
| OKLCH | oklch(74.81% 0.15 110.4) |
| XYZ | xyz(35.5892, 42.8219, 8.8728) |
| Luminance | 0.4282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.91
Snot
#ACBB0D
ΔE00 3.36
Puke Yellow
#C2BE0E
ΔE00 4.07
Olive Yellow
#C2B709
ΔE00 4.36
Bile
#B5C306
ΔE00 4.62
Puke
#A5A502
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B52D #2F2DB5
analogous
#B5732D #B3B52D #6FB52D
triadic
#B3B52D #2DB3B5 #B52DB3
tetradic
#B3B52D #2DB573 #2F2DB5 #B52D6F
square
#B3B52D #2DB573 #2F2DB5 #B52D6F
split-complementary
#B3B52D #2D6FB5 #732DB5
monochromatic
#525315 #838421 #B3B52D #D1D34D #DDDF7E
Accessibility & contrast
On white
2.20
#B3B52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#B3B52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B52D
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B52D | 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)
#C4AD0C
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b3b52d; /* rgb */ color: rgb(179, 181, 45); /* oklch */ color: oklch(74.8% 0.150 110.4);
Tailwind
colors: {
custom: {
50: '#cdca71',
500: '#b3b52d',
950: '#000000',
},
}SCSS
$custom: #b3b52d; $custom-light: #cdca71; $custom-dark: #000000;
JSON
{
"hex": "#b3b52d",
"rgb": {
"r": 179,
"g": 181,
"b": 45
},
"hsl": {
"h": 60.882,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.74809,
"c": 0.14986,
"h": 110.4
},
"luminance": 0.42821
}Semantic roles & 50–950 ramp
primary
#B3B52D
secondary
#7876C7
accent
#44E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B