#B2B255#B2B255

#B2B255 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.116 H 108.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B2B255
RGBrgb(178, 178, 85)
HSLhsl(60, 38%, 52%)
HSVhsv(60, 52%, 70%)
CMYKcmyk(0%, 0%, 52.2%, 30.2%)
CIE-LABlab(70.85, -12.83, 46.90)
CIE-LCHlch(70.85, 48.62, 105.30°)
OKLaboklab(74.42% -0.0377 0.11)
OKLCHoklch(74.42% 0.116 108.9)
XYZxyz(35.9211, 41.9625, 14.7999)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B255 #5555B2
analogous
#B28455 #B2B255 #84B255
triadic
#B2B255 #55B2B2 #B255B2
tetradic
#B2B255 #55B284 #5555B2 #B25584
square
#B2B255 #55B284 #5555B2 #B25584
split-complementary
#B2B255 #5584B2 #8455B2
monochromatic
#61612C #8B8B3F #B2B255 #C5C57F #D8D8A9

Accessibility & contrast

On white

2.24
#B2B255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B2B255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B255
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B255#FFFFFF#000000##000000
##B2B2551.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC4C
Deuteranopia (green-blind)
#C0AF5A
Tritanopia (blue-blind)
#BDA89D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b255;
/* rgb */ color: rgb(178, 178, 85);
/* oklch */ color: oklch(74.4% 0.116 108.9);
Tailwind
colors: {
  custom: {
    50: '#cbc888',
    500: '#b2b255',
    950: '#000000',
  },
}
SCSS
$custom: #b2b255;
$custom-light: #cbc888;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b255",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74421,
    "c": 0.11633,
    "h": 108.9
  },
  "luminance": 0.41962
}

Semantic roles & 50–950 ramp

primary
#B2B255
secondary
#9D9DC6
accent
#5ACE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B255

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

Preview Lab → · Contrast checker → · Palette generator →

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