#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
RGBrgb(178, 184, 85)
HSLhsl(64, 41%, 53%)
HSVhsv(64, 54%, 72%)
CMYKcmyk(3.3%, 0%, 53.8%, 27.8%)
CIE-LABlab(72.50, -15.91, 48.81)
CIE-LCHlch(72.50, 51.34, 108.05°)
OKLaboklab(75.74% -0.0464 0.1142)
OKLCHoklch(75.74% 0.123 112.1)
XYZxyz(37.1411, 44.4026, 15.2066)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##B2B8551.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.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

Preview Lab

Preview with #B2B855

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

Preview Lab → · Contrast checker → · Palette generator →

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