#B2B936#B2B936
#B2B936 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.149 H 112.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B936 |
|---|---|
| RGB | rgb(178, 185, 54) |
| HSL | hsl(63, 55%, 47%) |
| HSV | hsv(63, 71%, 73%) |
| CMYK | cmyk(3.8%, 0%, 70.8%, 27.5%) |
| CIE-LAB | lab(72.52, -18.51, 61.93) |
| CIE-LCH | lch(72.52, 64.64, 106.64°) |
| OKLab | oklab(75.67% -0.057 0.1376) |
| OKLCH | oklch(75.67% 0.149 112.5) |
| XYZ | xyz(36.3760, 44.4301, 10.1490) |
| Luminance | 0.4443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.80
Mustard Green
#A8B504
ΔE00 2.94
Bile
#B5C306
ΔE00 4.00
Baby Puke Green
#B6C406
ΔE00 4.20
Pea
#A4BF20
ΔE00 4.32
Sick Green
#9DB92C
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B936 #3D36B9
analogous
#B97F36 #B2B936 #71B936
triadic
#B2B936 #36B2B9 #B936B2
tetradic
#B2B936 #36B97F #3D36B9 #B93671
square
#B2B936 #36B97F #3D36B9 #B93671
split-complementary
#B2B936 #3671B9 #7F36B9
monochromatic
#575A1A #848A28 #B2B936 #C9D05D #D9DD8C
Accessibility & contrast
On white
2.12
#B2B936 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#B2B936 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B936
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B936 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B936 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B01F
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b2b936; /* rgb */ color: rgb(178, 185, 54); /* oklch */ color: oklch(75.7% 0.149 112.5);
Tailwind
colors: {
custom: {
50: '#cccd76',
500: '#b2b936',
950: '#000000',
},
}SCSS
$custom: #b2b936; $custom-light: #cccd76; $custom-dark: #000000;
JSON
{
"hex": "#b2b936",
"rgb": {
"r": 178,
"g": 185,
"b": 54
},
"hsl": {
"h": 63.206,
"s": 54.812,
"l": 46.863
},
"oklch": {
"l": 0.7567,
"c": 0.14896,
"h": 112.5
},
"luminance": 0.44429
}Semantic roles & 50–950 ramp
primary
#B2B936
secondary
#8783C8
accent
#4ADE52
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B