#B2B837#B2B837
#B2B837 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.147 H 112.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B837 |
|---|---|
| RGB | rgb(178, 184, 55) |
| HSL | hsl(63, 54%, 47%) |
| HSV | hsv(63, 70%, 72%) |
| CMYK | cmyk(3.3%, 0%, 70.1%, 27.8%) |
| CIE-LAB | lab(72.24, -17.96, 61.30) |
| CIE-LCH | lch(72.24, 63.87, 106.33°) |
| OKLab | oklab(75.46% -0.0553 0.1365) |
| OKLCH | oklch(75.46% 0.147 112.1) |
| XYZ | xyz(36.1913, 44.0227, 10.2044) |
| Luminance | 0.4402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.04
Snot
#ACBB0D
ΔE00 3.06
Bile
#B5C306
ΔE00 4.30
Baby Puke Green
#B6C406
ΔE00 4.50
Pea
#A4BF20
ΔE00 4.60
Puke Yellow
#C2BE0E
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B837 #3D37B8
analogous
#B87E37 #B2B837 #71B837
triadic
#B2B837 #37B2B8 #B837B2
tetradic
#B2B837 #37B87E #3D37B8 #B83771
square
#B2B837 #37B87E #3D37B8 #B83771
split-complementary
#B2B837 #3771B8 #7E37B8
monochromatic
#575A1B #848929 #B2B837 #C9CF5D #D9DD8D
Accessibility & contrast
On white
2.14
#B2B837 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#B2B837 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B837
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B837 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b837; /* rgb */ color: rgb(178, 184, 55); /* oklch */ color: oklch(75.5% 0.147 112.1);
Tailwind
colors: {
custom: {
50: '#cccd76',
500: '#b2b837',
950: '#000000',
},
}SCSS
$custom: #b2b837; $custom-light: #cccd76; $custom-dark: #000000;
JSON
{
"hex": "#b2b837",
"rgb": {
"r": 178,
"g": 184,
"b": 55
},
"hsl": {
"h": 62.791,
"s": 53.975,
"l": 46.863
},
"oklch": {
"l": 0.75455,
"c": 0.14727,
"h": 112.1
},
"luminance": 0.44022
}Semantic roles & 50–950 ramp
primary
#B2B837
secondary
#8784C7
accent
#4ADD51
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B