#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
RGBrgb(178, 177, 85)
HSLhsl(59, 38%, 52%)
HSVhsv(59, 52%, 70%)
CMYKcmyk(0%, 0.6%, 52.2%, 30.2%)
CIE-LABlab(70.57, -12.32, 46.58)
CIE-LCHlch(70.57, 48.18, 104.81°)
OKLaboklab(74.2% -0.0362 0.1094)
OKLCHoklch(74.2% 0.115 108.3)
XYZxyz(35.7228, 41.5661, 14.7338)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##B2B1551.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.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

Preview Lab

Preview with #B2B155

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B2B155 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva