#B2B152#B2B152

#B2B152 is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.118 H 108.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B2B152
RGBrgb(178, 177, 82)
HSLhsl(59, 38%, 51%)
HSVhsv(59, 54%, 70%)
CMYKcmyk(0%, 0.6%, 53.9%, 30.2%)
CIE-LABlab(70.54, -12.57, 47.97)
CIE-LCHlch(70.54, 49.59, 104.68°)
OKLaboklab(74.17% -0.0373 0.112)
OKLCHoklch(74.17% 0.118 108.4)
XYZxyz(35.6062, 41.5194, 14.1194)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B152 #5253B2
analogous
#B28152 #B2B152 #83B252
triadic
#B2B152 #52B2B1 #B152B2
tetradic
#B2B152 #52B281 #5253B2 #B25283
square
#B2B152 #52B281 #5253B2 #B25283
split-complementary
#B2B152 #5283B2 #8152B2
monochromatic
#5F5F2A #8A893D #B2B152 #C5C47C #D8D7A7

Accessibility & contrast

On white

2.26
#B2B152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B2B152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B152
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B152#FFFFFF#000000##000000
##B2B1521.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB49
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#BDA79C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b152;
/* rgb */ color: rgb(178, 177, 82);
/* oklch */ color: oklch(74.2% 0.118 108.4);
Tailwind
colors: {
  custom: {
    50: '#cbc886',
    500: '#b2b152',
    950: '#000000',
  },
}
SCSS
$custom: #b2b152;
$custom-light: #cbc886;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b152",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 59.375,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.11809,
    "h": 108.4
  },
  "luminance": 0.41518
}

Semantic roles & 50–950 ramp

primary
#B2B152
secondary
#9B9BC5
accent
#5BCE59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B152

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

Preview Lab → · Contrast checker → · Palette generator →

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