#B3B52E#B3B52E
#B3B52E is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.149 H 110.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B52E |
|---|---|
| RGB | rgb(179, 181, 46) |
| HSL | hsl(61, 59%, 45%) |
| HSV | hsv(61, 75%, 71%) |
| CMYK | cmyk(1.1%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(71.44, -16.45, 63.72) |
| CIE-LCH | lch(71.44, 65.80, 104.47°) |
| OKLab | oklab(74.81% -0.052 0.14) |
| OKLCH | oklch(74.81% 0.149 110.4) |
| XYZ | xyz(35.6087, 42.8297, 8.9754) |
| Luminance | 0.4283 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.96
Snot
#ACBB0D
ΔE00 3.40
Puke Yellow
#C2BE0E
ΔE00 4.12
Olive Yellow
#C2B709
ΔE00 4.41
Bile
#B5C306
ΔE00 4.66
Puke
#A5A502
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B52E #302EB5
analogous
#B5742E #B3B52E #70B52E
triadic
#B3B52E #2EB3B5 #B52EB3
tetradic
#B3B52E #2EB574 #302EB5 #B52E70
square
#B3B52E #2EB574 #302EB5 #B52E70
split-complementary
#B3B52E #2E70B5 #742EB5
monochromatic
#525315 #838422 #B3B52E #D0D24E #DDDE7F
Accessibility & contrast
On white
2.20
#B3B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#B3B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B52E
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B52E | 1.00 | 2.20 | 9.57 | 9.57 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b3b52e; /* rgb */ color: rgb(179, 181, 46); /* oklch */ color: oklch(74.8% 0.149 110.4);
Tailwind
colors: {
custom: {
50: '#cdca71',
500: '#b3b52e',
950: '#000000',
},
}SCSS
$custom: #b3b52e; $custom-light: #cdca71; $custom-dark: #000000;
JSON
{
"hex": "#b3b52e",
"rgb": {
"r": 179,
"g": 181,
"b": 46
},
"hsl": {
"h": 60.889,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.74814,
"c": 0.14931,
"h": 110.4
},
"luminance": 0.42829
}Semantic roles & 50–950 ramp
primary
#B3B52E
secondary
#7978C7
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B