#B2B155#B2B155
#B2B155 is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.115 H 108.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B155 |
|---|---|
| RGB | rgb(178, 177, 85) |
| HSL | hsl(59, 38%, 52%) |
| HSV | hsv(59, 52%, 70%) |
| CMYK | cmyk(0%, 0.6%, 52.2%, 30.2%) |
| CIE-LAB | lab(70.57, -12.32, 46.58) |
| CIE-LCH | lch(70.57, 48.18, 104.81°) |
| OKLab | oklab(74.2% -0.0362 0.1094) |
| OKLCH | oklch(74.2% 0.115 108.3) |
| XYZ | xyz(35.7228, 41.5661, 14.7338) |
| Luminance | 0.4157 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.58
Khaki (survey)
#AAA662
ΔE00 4.86
Light Olive
#ACBF69
ΔE00 6.26
Vomit
#A2A415
ΔE00 6.69
Booger
#9BB53C
ΔE00 6.73
Light Olive Green
#A4BE5C
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B155 #5556B2
analogous
#B28355 #B2B155 #85B255
triadic
#B2B155 #55B2B1 #B155B2
tetradic
#B2B155 #55B283 #5556B2 #B25585
square
#B2B155 #55B283 #5556B2 #B25585
split-complementary
#B2B155 #5585B2 #8355B2
monochromatic
#61602C #8B8A3F #B2B155 #C5C47F #D8D8A9
Accessibility & contrast
On white
2.25
#B2B155 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#B2B155 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B155
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B155 | 1.00 | 2.25 | 9.31 | 9.31 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB4C
Deuteranopia (green-blind)
#BFAE5A
Tritanopia (blue-blind)
#BDA79C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b2b155; /* rgb */ color: rgb(178, 177, 85); /* oklch */ color: oklch(74.2% 0.115 108.3);
Tailwind
colors: {
custom: {
50: '#cbc887',
500: '#b2b155',
950: '#000000',
},
}SCSS
$custom: #b2b155; $custom-light: #cbc887; $custom-dark: #000000;
JSON
{
"hex": "#b2b155",
"rgb": {
"r": 178,
"g": 177,
"b": 85
},
"hsl": {
"h": 59.355,
"s": 37.652,
"l": 51.569
},
"oklch": {
"l": 0.74203,
"c": 0.1152,
"h": 108.3
},
"luminance": 0.41565
}Semantic roles & 50–950 ramp
primary
#B2B155
secondary
#9D9DC6
accent
#5BCE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C