#B2B31D#B2B31D
#B2B31D is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.155 H 110.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B31D |
|---|---|
| RGB | rgb(178, 179, 29) |
| HSL | hsl(60, 72%, 41%) |
| HSV | hsv(60, 84%, 70%) |
| CMYK | cmyk(0.6%, 0%, 83.8%, 29.8%) |
| CIE-LAB | lab(70.73, -16.47, 67.91) |
| CIE-LCH | lch(70.73, 69.88, 103.63°) |
| OKLab | oklab(74.2% -0.0533 0.1459) |
| OKLCH | oklch(74.2% 0.155 110.1) |
| XYZ | xyz(34.7033, 41.7949, 7.4013) |
| Luminance | 0.4179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.75
Snot
#ACBB0D
ΔE00 3.49
Olive Yellow
#C2B709
ΔE00 3.79
Puke Yellow
#C2BE0E
ΔE00 3.80
Puke
#A5A502
ΔE00 4.02
Vomit
#A2A415
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B31D #1E1DB3
analogous
#B3691D #B2B31D #67B31D
triadic
#B2B31D #1DB2B3 #B31DB2
tetradic
#B2B31D #1DB369 #1E1DB3 #B31D67
square
#B2B31D #1DB369 #1E1DB3 #B31D67
split-complementary
#B2B31D #1D67B3 #691DB3
monochromatic
#494A0C #7E7E14 #B2B31D #DCDD30 #E5E664
Accessibility & contrast
On white
2.24
#B2B31D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#B2B31D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B31D
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B31D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B31D | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AF2D
Tritanopia (blue-blind)
#BFA799
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b2b31d; /* rgb */ color: rgb(178, 179, 29); /* oklch */ color: oklch(74.2% 0.155 110.1);
Tailwind
colors: {
custom: {
50: '#cdc96a',
500: '#b2b31d',
950: '#000000',
},
}SCSS
$custom: #b2b31d; $custom-light: #cdc96a; $custom-dark: #000000;
JSON
{
"hex": "#b2b31d",
"rgb": {
"r": 178,
"g": 179,
"b": 29
},
"hsl": {
"h": 60.4,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.74203,
"c": 0.15538,
"h": 110.1
},
"luminance": 0.41794
}Semantic roles & 50–950 ramp
primary
#B2B31D
secondary
#6261CB
accent
#39EF3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A