#B2B641#B2B641
#B2B641 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.138 H 111.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B641 |
|---|---|
| RGB | rgb(178, 182, 65) |
| HSL | hsl(62, 47%, 48%) |
| HSV | hsv(62, 64%, 71%) |
| CMYK | cmyk(2.2%, 0%, 64.3%, 28.6%) |
| CIE-LAB | lab(71.76, -16.37, 56.88) |
| CIE-LCH | lch(71.76, 59.19, 106.05°) |
| OKLab | oklab(75.09% -0.0499 0.1288) |
| OKLCH | oklch(75.09% 0.138 111.2) |
| XYZ | xyz(36.0432, 43.3034, 11.4597) |
| Luminance | 0.4330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.09
Snot
#ACBB0D
ΔE00 4.30
Booger
#9BB53C
ΔE00 5.29
Sick Green
#9DB92C
ΔE00 5.32
Puke Green
#9AAE07
ΔE00 5.37
Pea
#A4BF20
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B641 #4541B6
analogous
#B67F41 #B2B641 #77B641
triadic
#B2B641 #41B2B6 #B641B2
tetradic
#B2B641 #41B67F #4541B6 #B64177
square
#B2B641 #41B67F #4541B6 #B64177
split-complementary
#B2B641 #4177B6 #7F41B6
monochromatic
#5A5C21 #868931 #B2B641 #C7CA6A #D8DA97
Accessibility & contrast
On white
2.17
#B2B641 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#B2B641 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B641
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B641 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B641 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b641; /* rgb */ color: rgb(178, 182, 65); /* oklch */ color: oklch(75.1% 0.138 111.2);
Tailwind
colors: {
custom: {
50: '#cccb7b',
500: '#b2b641',
950: '#000000',
},
}SCSS
$custom: #b2b641; $custom-light: #cccb7b; $custom-dark: #000000;
JSON
{
"hex": "#b2b641",
"rgb": {
"r": 178,
"g": 182,
"b": 65
},
"hsl": {
"h": 62.051,
"s": 47.368,
"l": 48.431
},
"oklch": {
"l": 0.75091,
"c": 0.13811,
"h": 111.2
},
"luminance": 0.43303
}Semantic roles & 50–950 ramp
primary
#B2B641
secondary
#8F8DC6
accent
#51D755
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C