#B2B841#B2B841
#B2B841 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.140 H 112.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B841 |
|---|---|
| RGB | rgb(178, 184, 65) |
| HSL | hsl(63, 48%, 49%) |
| HSV | hsv(63, 65%, 72%) |
| CMYK | cmyk(3.3%, 0%, 64.7%, 27.8%) |
| CIE-LAB | lab(72.31, -17.38, 57.46) |
| CIE-LCH | lch(72.31, 60.03, 106.83°) |
| OKLab | oklab(75.53% -0.0527 0.13) |
| OKLCH | oklch(75.53% 0.14 112.1) |
| XYZ | xyz(36.4558, 44.1284, 11.5972) |
| Luminance | 0.4413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.93
Snot
#ACBB0D
ΔE00 3.94
Sick Green
#9DB92C
ΔE00 4.88
Pea
#A4BF20
ΔE00 4.95
Booger
#9BB53C
ΔE00 4.99
Bile
#B5C306
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B841 #4741B8
analogous
#B88341 #B2B841 #77B841
triadic
#B2B841 #41B2B8 #B841B2
tetradic
#B2B841 #41B883 #4741B8 #B84177
square
#B2B841 #41B883 #4741B8 #B84177
split-complementary
#B2B841 #4177B8 #8341B8
monochromatic
#5B5E21 #868B31 #B2B841 #C6CB6B #D7DB99
Accessibility & contrast
On white
2.14
#B2B841 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#B2B841 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B841
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B841 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B841 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B031
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#BEADA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b841; /* rgb */ color: rgb(178, 184, 65); /* oklch */ color: oklch(75.5% 0.140 112.1);
Tailwind
colors: {
custom: {
50: '#cccd7c',
500: '#b2b841',
950: '#000000',
},
}SCSS
$custom: #b2b841; $custom-light: #cccd7c; $custom-dark: #000000;
JSON
{
"hex": "#b2b841",
"rgb": {
"r": 178,
"g": 184,
"b": 65
},
"hsl": {
"h": 63.025,
"s": 47.791,
"l": 48.824
},
"oklch": {
"l": 0.75534,
"c": 0.14029,
"h": 112.1
},
"luminance": 0.44128
}Semantic roles & 50–950 ramp
primary
#B2B841
secondary
#918EC7
accent
#50D757
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C