#B2B643#B2B643
#B2B643 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.137 H 111.2°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B643 |
|---|---|
| RGB | rgb(178, 182, 67) |
| HSL | hsl(62, 46%, 49%) |
| HSV | hsv(62, 63%, 71%) |
| CMYK | cmyk(2.2%, 0%, 63.2%, 28.6%) |
| CIE-LAB | lab(71.78, -16.24, 56.06) |
| CIE-LCH | lch(71.78, 58.37, 106.16°) |
| OKLab | oklab(75.11% -0.0493 0.1274) |
| OKLCH | oklch(75.11% 0.137 111.2) |
| XYZ | xyz(36.1022, 43.3270, 11.7703) |
| Luminance | 0.4333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.29
Snot
#ACBB0D
ΔE00 4.50
Booger
#9BB53C
ΔE00 5.26
Sick Green
#9DB92C
ΔE00 5.36
Puke Green
#9AAE07
ΔE00 5.49
Pea
#A4BF20
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B643 #4743B6
analogous
#B68143 #B2B643 #79B643
triadic
#B2B643 #43B2B6 #B643B2
tetradic
#B2B643 #43B681 #4743B6 #B64379
square
#B2B643 #43B681 #4743B6 #B64379
split-complementary
#B2B643 #4379B6 #8143B6
monochromatic
#5B5D22 #868933 #B2B643 #C6C96D #D7DA9A
Accessibility & contrast
On white
2.17
#B2B643 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#B2B643 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B643
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B643 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B643 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE34
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b643; /* rgb */ color: rgb(178, 182, 67); /* oklch */ color: oklch(75.1% 0.137 111.2);
Tailwind
colors: {
custom: {
50: '#cccb7d',
500: '#b2b643',
950: '#000000',
},
}SCSS
$custom: #b2b643; $custom-light: #cccb7d; $custom-dark: #000000;
JSON
{
"hex": "#b2b643",
"rgb": {
"r": 178,
"g": 182,
"b": 67
},
"hsl": {
"h": 62.087,
"s": 46.185,
"l": 48.824
},
"oklch": {
"l": 0.75109,
"c": 0.13657,
"h": 111.2
},
"luminance": 0.43326
}Semantic roles & 50–950 ramp
primary
#B2B643
secondary
#918FC6
accent
#52D657
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C