#B2B755#B2B755
#B2B755 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.122 H 111.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B755 |
|---|---|
| RGB | rgb(178, 183, 85) |
| HSL | hsl(63, 40%, 53%) |
| HSV | hsv(63, 54%, 72%) |
| CMYK | cmyk(2.7%, 0%, 53.6%, 28.2%) |
| CIE-LAB | lab(72.22, -15.40, 48.50) |
| CIE-LCH | lch(72.22, 50.88, 107.61°) |
| OKLab | oklab(75.52% -0.045 0.1135) |
| OKLCH | oklch(75.52% 0.122 111.6) |
| XYZ | xyz(36.9341, 43.9886, 15.1376) |
| Luminance | 0.4399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.41
Light Olive
#ACBF69
ΔE00 4.73
Light Olive Green
#A4BE5C
ΔE00 5.19
Booger
#9BB53C
ΔE00 5.34
Tan Green
#A9BE70
ΔE00 6.02
Sick Green
#9DB92C
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B755 #5A55B7
analogous
#B78B55 #B2B755 #81B755
triadic
#B2B755 #55B2B7 #B755B2
tetradic
#B2B755 #55B78B #5A55B7 #B75581
square
#B2B755 #55B78B #5A55B7 #B75581
split-complementary
#B2B755 #5581B7 #8B55B7
monochromatic
#63662B #8D913E #B2B755 #C5C980 #D9DBAB
Accessibility & contrast
On white
2.14
#B2B755 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#B2B755 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B755
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B755 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B755 | 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)
#C3B04B
Deuteranopia (green-blind)
#C4B25A
Tritanopia (blue-blind)
#BDADA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b755; /* rgb */ color: rgb(178, 183, 85); /* oklch */ color: oklch(75.5% 0.122 111.6);
Tailwind
colors: {
custom: {
50: '#cbcc88',
500: '#b2b755',
950: '#000000',
},
}SCSS
$custom: #b2b755; $custom-light: #cbcc88; $custom-dark: #000000;
JSON
{
"hex": "#b2b755",
"rgb": {
"r": 178,
"g": 183,
"b": 85
},
"hsl": {
"h": 63.061,
"s": 40.496,
"l": 52.549
},
"oklch": {
"l": 0.75518,
"c": 0.12209,
"h": 111.6
},
"luminance": 0.43988
}Semantic roles & 50–950 ramp
primary
#B2B755
secondary
#A19FC9
accent
#57D05E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D