#B7B160#B7B160

#B7B160 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.104 H 104.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B7B160
RGBrgb(183, 177, 96)
HSLhsl(56, 38%, 55%)
HSVhsv(56, 48%, 72%)
CMYKcmyk(0%, 3.3%, 47.5%, 28.2%)
CIE-LABlab(71.12, -9.23, 41.94)
CIE-LCHlch(71.12, 42.94, 102.41°)
OKLaboklab(74.78% -0.0266 0.1001)
OKLCHoklch(74.78% 0.104 104.9)
XYZxyz(37.3628, 42.3571, 17.2717)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B160 #6066B7
analogous
#B78660 #B7B160 #92B760
triadic
#B7B160 #60B7B1 #B160B7
tetradic
#B7B160 #60B786 #6066B7 #B76092
square
#B7B160 #60B786 #6066B7 #B76092
split-complementary
#B7B160 #6092B7 #8660B7
monochromatic
#6C6831 #969044 #B7B160 #CAC68A #DDDAB4

Accessibility & contrast

On white

2.22
#B7B160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B7B160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B160
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B160#FFFFFF#000000##000000
##B7B1601.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC59
Deuteranopia (green-blind)
#C0B064
Tritanopia (blue-blind)
#C2A89E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b160;
/* rgb */ color: rgb(183, 177, 96);
/* oklch */ color: oklch(74.8% 0.104 104.9);
Tailwind
colors: {
  custom: {
    50: '#cec88f',
    500: '#b7b160',
    950: '#000000',
  },
}
SCSS
$custom: #b7b160;
$custom-light: #cec88f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b160",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 96
  },
  "hsl": {
    "h": 55.862,
    "s": 37.662,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7478,
    "c": 0.10357,
    "h": 104.9
  },
  "luminance": 0.42356
}

Semantic roles & 50–950 ramp

primary
#B7B160
secondary
#A7AACC
accent
#62CE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B7B160

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

Preview Lab → · Contrast checker → · Palette generator →

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