#B3B31D#B3B31D
#B3B31D is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.155 H 109.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B31D |
|---|---|
| RGB | rgb(179, 179, 29) |
| HSL | hsl(60, 72%, 41%) |
| HSV | hsv(60, 84%, 70%) |
| CMYK | cmyk(0%, 0%, 83.8%, 29.8%) |
| CIE-LAB | lab(70.81, -16.03, 68.01) |
| CIE-LCH | lch(70.81, 69.88, 103.26°) |
| OKLab | oklab(74.29% -0.0522 0.1461) |
| OKLCH | oklch(74.29% 0.155 109.6) |
| XYZ | xyz(34.9337, 41.9137, 7.4121) |
| Luminance | 0.4191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.98
Olive Yellow
#C2B709
ΔE00 3.56
Puke Yellow
#C2BE0E
ΔE00 3.66
Snot
#ACBB0D
ΔE00 3.68
Puke
#A5A502
ΔE00 4.06
Vomit
#A2A415
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B31D #1D1DB3
analogous
#B3681D #B3B31D #68B31D
triadic
#B3B31D #1DB3B3 #B31DB3
tetradic
#B3B31D #1DB368 #1D1DB3 #B31D68
square
#B3B31D #1DB368 #1D1DB3 #B31D68
split-complementary
#B3B31D #1D68B3 #681DB3
monochromatic
#4A4A0C #7E7E14 #B3B31D #DDDD30 #E6E664
Accessibility & contrast
On white
2.24
#B3B31D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#B3B31D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B31D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B31D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B31D | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C4AF2D
Tritanopia (blue-blind)
#C0A799
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b3b31d; /* rgb */ color: rgb(179, 179, 29); /* oklch */ color: oklch(74.3% 0.155 109.6);
Tailwind
colors: {
custom: {
50: '#cec96a',
500: '#b3b31d',
950: '#000000',
},
}SCSS
$custom: #b3b31d; $custom-light: #cec96a; $custom-dark: #000000;
JSON
{
"hex": "#b3b31d",
"rgb": {
"r": 179,
"g": 179,
"b": 29
},
"hsl": {
"h": 60,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.74289,
"c": 0.15514,
"h": 109.6
},
"luminance": 0.41913
}Semantic roles & 50–950 ramp
primary
#B3B31D
secondary
#6161CB
accent
#39EF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A