#B2B160#B2B160

#B2B160 is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.104 H 108.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B2B160
RGBrgb(178, 177, 96)
HSLhsl(59, 35%, 54%)
HSVhsv(59, 46%, 70%)
CMYKcmyk(0%, 0.6%, 46.1%, 30.2%)
CIE-LABlab(70.70, -11.30, 41.33)
CIE-LCHlch(70.70, 42.85, 105.29°)
OKLaboklab(74.35% -0.0322 0.0988)
OKLCHoklch(74.35% 0.104 108.1)
XYZxyz(36.1943, 41.7546, 17.2169)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B160 #6061B2
analogous
#B28860 #B2B160 #8AB260
triadic
#B2B160 #60B2B1 #B160B2
tetradic
#B2B160 #60B288 #6061B2 #B2608A
square
#B2B160 #60B288 #6061B2 #B2608A
split-complementary
#B2B160 #608AB2 #8860B2
monochromatic
#666531 #8F8E45 #B2B160 #C6C589 #DAD9B2

Accessibility & contrast

On white

2.25
#B2B160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#B2B160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B160
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B160#FFFFFF#000000##000000
##B2B1601.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB59
Deuteranopia (green-blind)
#BEAE64
Tritanopia (blue-blind)
#BCA89E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b160;
/* rgb */ color: rgb(178, 177, 96);
/* oklch */ color: oklch(74.3% 0.104 108.1);
Tailwind
colors: {
  custom: {
    50: '#cbc88f',
    500: '#b2b160',
    950: '#000000',
  },
}
SCSS
$custom: #b2b160;
$custom-light: #cbc88f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b160",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 96
  },
  "hsl": {
    "h": 59.268,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74349,
    "c": 0.10396,
    "h": 108.1
  },
  "luminance": 0.41754
}

Semantic roles & 50–950 ramp

primary
#B2B160
secondary
#A5A6C8
accent
#5ECB5D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2B160

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

Preview Lab → · Contrast checker → · Palette generator →

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