#B2B534#B2B534
#B2B534 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.146 H 110.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B534 |
|---|---|
| RGB | rgb(178, 181, 52) |
| HSL | hsl(61, 55%, 46%) |
| HSV | hsv(61, 71%, 71%) |
| CMYK | cmyk(1.7%, 0%, 71.3%, 29%) |
| CIE-LAB | lab(71.39, -16.60, 61.56) |
| CIE-LCH | lch(71.39, 63.76, 105.09°) |
| OKLab | oklab(74.77% -0.0518 0.1365) |
| OKLCH | oklch(74.77% 0.146 110.8) |
| XYZ | xyz(35.5050, 42.7616, 9.6317) |
| Luminance | 0.4276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.13
Snot
#ACBB0D
ΔE00 3.54
Puke Yellow
#C2BE0E
ΔE00 4.65
Bile
#B5C306
ΔE00 4.89
Puke Green
#9AAE07
ΔE00 4.91
Puke
#A5A502
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B534 #3734B5
analogous
#B57734 #B2B534 #72B534
triadic
#B2B534 #34B2B5 #B534B2
tetradic
#B2B534 #34B577 #3734B5 #B53472
square
#B2B534 #34B577 #3734B5 #B53472
split-complementary
#B2B534 #3472B5 #7734B5
monochromatic
#545619 #838526 #B2B534 #CCCF57 #DBDC87
Accessibility & contrast
On white
2.20
#B2B534 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#B2B534 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B534
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B534 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B534 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD1D
Deuteranopia (green-blind)
#C4B13E
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b534; /* rgb */ color: rgb(178, 181, 52); /* oklch */ color: oklch(74.8% 0.146 110.8);
Tailwind
colors: {
custom: {
50: '#ccca74',
500: '#b2b534',
950: '#000000',
},
}SCSS
$custom: #b2b534; $custom-light: #ccca74; $custom-dark: #000000;
JSON
{
"hex": "#b2b534",
"rgb": {
"r": 178,
"g": 181,
"b": 52
},
"hsl": {
"h": 61.395,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.74769,
"c": 0.14602,
"h": 110.8
},
"luminance": 0.42761
}Semantic roles & 50–950 ramp
primary
#B2B534
secondary
#807FC6
accent
#49DF4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B