#B2B775#B2B775

#B2B775 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.0% C 0.088 H 112.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B2B775
RGBrgb(178, 183, 117)
HSLhsl(65, 31%, 59%)
HSVhsv(65, 36%, 72%)
CMYKcmyk(2.7%, 0%, 36.1%, 28.2%)
CIE-LABlab(72.64, -12.10, 33.01)
CIE-LCHlch(72.64, 35.16, 110.13°)
OKLaboklab(75.99% -0.0328 0.0812)
OKLCHoklch(75.99% 0.088 112)
XYZxyz(38.5047, 44.6168, 23.4097)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B775 #7A75B7
analogous
#B79B75 #B2B775 #91B775
triadic
#B2B775 #75B2B7 #B775B2
tetradic
#B2B775 #75B79B #7A75B7 #B77591
square
#B2B775 #75B79B #7A75B7 #B77591
split-complementary
#B2B775 #7591B7 #9B75B7
monochromatic
#70753D #979D52 #B2B775 #C8CC9D #DFE1C5

Accessibility & contrast

On white

2.12
#B2B775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B2B775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B775
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B775#FFFFFF#000000##000000
##B2B7751.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B170
Deuteranopia (green-blind)
#C1B378
Tritanopia (blue-blind)
#BAB0A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b775;
/* rgb */ color: rgb(178, 183, 117);
/* oklch */ color: oklch(76.0% 0.088 112.0);
Tailwind
colors: {
  custom: {
    50: '#cacc9d',
    500: '#b2b775',
    950: '#000000',
  },
}
SCSS
$custom: #b2b775;
$custom-light: #cacc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b775",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 117
  },
  "hsl": {
    "h": 64.545,
    "s": 31.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.75987,
    "c": 0.08759,
    "h": 112
  },
  "luminance": 0.44616
}

Semantic roles & 50–950 ramp

primary
#B2B775
secondary
#B9B7D1
accent
#60C868
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B2B775

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

Preview Lab → · Contrast checker → · Palette generator →

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