#B6B151#B6B151

#B6B151 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.119 H 106.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B6B151
RGBrgb(182, 177, 81)
HSLhsl(57, 41%, 52%)
HSVhsv(57, 55%, 71%)
CMYKcmyk(0%, 2.7%, 55.5%, 28.6%)
CIE-LABlab(70.86, -10.97, 48.90)
CIE-LCHlch(70.86, 50.11, 102.64°)
OKLaboklab(74.5% -0.0331 0.1139)
OKLCHoklch(74.5% 0.119 106.2)
XYZxyz(36.4998, 41.9845, 13.9641)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B151 #5156B6
analogous
#B67F51 #B6B151 #89B651
triadic
#B6B151 #51B6B1 #B151B6
tetradic
#B6B151 #51B67F #5156B6 #B65189
square
#B6B151 #51B67F #5156B6 #B65189
split-complementary
#B6B151 #5189B6 #7F51B6
monochromatic
#63602A #8E8A3C #B6B151 #C8C47C #DAD8A7

Accessibility & contrast

On white

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

On black

9.40
#B6B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B151
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B151#FFFFFF#000000##000000
##B6B1511.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB47
Deuteranopia (green-blind)
#C1AF56
Tritanopia (blue-blind)
#C2A79C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b151;
/* rgb */ color: rgb(182, 177, 81);
/* oklch */ color: oklch(74.5% 0.119 106.2);
Tailwind
colors: {
  custom: {
    50: '#cec885',
    500: '#b6b151',
    950: '#000000',
  },
}
SCSS
$custom: #b6b151;
$custom-light: #cec885;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b151",
  "rgb": {
    "r": 182,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 57.03,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.745,
    "c": 0.11856,
    "h": 106.2
  },
  "luminance": 0.41983
}

Semantic roles & 50–950 ramp

primary
#B6B151
secondary
#9B9DC8
accent
#5DD157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B6B151

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

Preview Lab → · Contrast checker → · Palette generator →

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