#B2B261#B2B261

#B2B261 is a light, moderate yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.104 H 108.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B2B261
RGBrgb(178, 178, 97)
HSLhsl(60, 34%, 54%)
HSVhsv(60, 46%, 70%)
CMYKcmyk(0%, 0%, 45.5%, 30.2%)
CIE-LABlab(70.99, -11.72, 41.18)
CIE-LCHlch(70.99, 42.82, 105.89°)
OKLaboklab(74.58% -0.0333 0.0986)
OKLCHoklch(74.58% 0.104 108.7)
XYZxyz(36.4389, 42.1697, 17.5270)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B261 #6161B2
analogous
#B28A61 #B2B261 #8AB261
triadic
#B2B261 #61B2B2 #B261B2
tetradic
#B2B261 #61B28A #6161B2 #B2618A
square
#B2B261 #61B28A #6161B2 #B2618A
split-complementary
#B2B261 #618AB2 #8A61B2
monochromatic
#676732 #909046 #B2B261 #C6C68A #DADAB3

Accessibility & contrast

On white

2.23
#B2B261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B2B261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B261
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B261#FFFFFF#000000##000000
##B2B2611.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC5A
Deuteranopia (green-blind)
#BFAF65
Tritanopia (blue-blind)
#BCA99F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b261;
/* rgb */ color: rgb(178, 178, 97);
/* oklch */ color: oklch(74.6% 0.104 108.7);
Tailwind
colors: {
  custom: {
    50: '#cac88f',
    500: '#b2b261',
    950: '#000000',
  },
}
SCSS
$custom: #b2b261;
$custom-light: #cac88f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b261",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 60,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74581,
    "c": 0.10406,
    "h": 108.7
  },
  "luminance": 0.42169
}

Semantic roles & 50–950 ramp

primary
#B2B261
secondary
#A6A6C9
accent
#5DCB5D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2B261

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

Preview Lab → · Contrast checker → · Palette generator →

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