#B2B536#B2B536
#B2B536 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.145 H 110.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B536 |
|---|---|
| RGB | rgb(178, 181, 54) |
| HSL | hsl(61, 54%, 46%) |
| HSV | hsv(61, 70%, 71%) |
| CMYK | cmyk(1.7%, 0%, 70.2%, 29%) |
| CIE-LAB | lab(71.41, -16.49, 60.84) |
| CIE-LCH | lch(71.41, 63.04, 105.17°) |
| OKLab | oklab(74.78% -0.0514 0.1353) |
| OKLCH | oklch(74.78% 0.145 110.8) |
| XYZ | xyz(35.5510, 42.7800, 9.8740) |
| Luminance | 0.4278 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.27
Snot
#ACBB0D
ΔE00 3.66
Puke Yellow
#C2BE0E
ΔE00 4.79
Puke Green
#9AAE07
ΔE00 4.96
Bile
#B5C306
ΔE00 5.01
Puke
#A5A502
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B536 #3936B5
analogous
#B57836 #B2B536 #72B536
triadic
#B2B536 #36B2B5 #B536B2
tetradic
#B2B536 #36B578 #3936B5 #B53672
square
#B2B536 #36B578 #3936B5 #B53672
split-complementary
#B2B536 #3672B5 #7836B5
monochromatic
#55571A #848628 #B2B536 #CBCE5A #DADC89
Accessibility & contrast
On white
2.20
#B2B536 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#B2B536 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B536
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B536 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B536 | 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)
#C3AD21
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b536; /* rgb */ color: rgb(178, 181, 54); /* oklch */ color: oklch(74.8% 0.145 110.8);
Tailwind
colors: {
custom: {
50: '#ccca75',
500: '#b2b536',
950: '#000000',
},
}SCSS
$custom: #b2b536; $custom-light: #ccca75; $custom-dark: #000000;
JSON
{
"hex": "#b2b536",
"rgb": {
"r": 178,
"g": 181,
"b": 54
},
"hsl": {
"h": 61.417,
"s": 54.043,
"l": 46.078
},
"oklch": {
"l": 0.74783,
"c": 0.14476,
"h": 110.8
},
"luminance": 0.42779
}Semantic roles & 50–950 ramp
primary
#B2B536
secondary
#8281C6
accent
#4ADD4E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B