#B2B855#B2B855
#B2B855 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.123 H 112.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B855 |
|---|---|
| RGB | rgb(178, 184, 85) |
| HSL | hsl(64, 41%, 53%) |
| HSV | hsv(64, 54%, 72%) |
| CMYK | cmyk(3.3%, 0%, 53.8%, 27.8%) |
| CIE-LAB | lab(72.50, -15.91, 48.81) |
| CIE-LCH | lch(72.50, 51.34, 108.05°) |
| OKLab | oklab(75.74% -0.0464 0.1142) |
| OKLCH | oklch(75.74% 0.123 112.1) |
| XYZ | xyz(37.1411, 44.4026, 15.2066) |
| Luminance | 0.4440 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.53
Darkkhaki
#BDB76B
ΔE00 4.62
Light Olive Green
#A4BE5C
ΔE00 4.94
Booger
#9BB53C
ΔE00 5.17
Tan Green
#A9BE70
ΔE00 5.87
Sick Green
#9DB92C
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B855 #5B55B8
analogous
#B88C55 #B2B855 #81B855
triadic
#B2B855 #55B2B8 #B855B2
tetradic
#B2B855 #55B88C #5B55B8 #B85581
square
#B2B855 #55B88C #5B55B8 #B85581
split-complementary
#B2B855 #5581B8 #8C55B8
monochromatic
#64672B #8D933D #B2B855 #C6CA80 #D9DCAB
Accessibility & contrast
On white
2.13
#B2B855 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#B2B855 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B855
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B855 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B855 | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B04B
Deuteranopia (green-blind)
#C5B35A
Tritanopia (blue-blind)
#BDAEA2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b2b855; /* rgb */ color: rgb(178, 184, 85); /* oklch */ color: oklch(75.7% 0.123 112.1);
Tailwind
colors: {
custom: {
50: '#cbcd88',
500: '#b2b855',
950: '#000000',
},
}SCSS
$custom: #b2b855; $custom-light: #cbcd88; $custom-dark: #000000;
JSON
{
"hex": "#b2b855",
"rgb": {
"r": 178,
"g": 184,
"b": 85
},
"hsl": {
"h": 63.636,
"s": 41.079,
"l": 52.745
},
"oklch": {
"l": 0.75739,
"c": 0.12327,
"h": 112.1
},
"luminance": 0.44402
}Semantic roles & 50–950 ramp
primary
#B2B855
secondary
#A29FCA
accent
#57D15E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D