#B6A751#B6A751

#B6A751 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.109 H 99.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B6A751
RGBrgb(182, 167, 81)
HSLhsl(51, 41%, 52%)
HSVhsv(51, 55%, 71%)
CMYKcmyk(0%, 8.2%, 55.5%, 28.6%)
CIE-LABlab(68.15, -5.72, 45.78)
CIE-LCHlch(68.15, 46.14, 97.13°)
OKLaboklab(72.35% -0.0181 0.1071)
OKLCHoklch(72.35% 0.109 99.6)
XYZxyz(34.5965, 38.1780, 13.3297)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A751 #5160B6
analogous
#B67551 #B6A751 #93B651
triadic
#B6A751 #51B6A7 #A751B6
tetradic
#B6A751 #51B675 #5160B6 #B65193
square
#B6A751 #51B675 #5160B6 #B65193
split-complementary
#B6A751 #5193B6 #7551B6
monochromatic
#635B2A #8E823C #B6A751 #C8BD7C #DAD3A7

Accessibility & contrast

On white

2.43
#B6A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B6A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A751
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A751#FFFFFF#000000##000000
##B6A7511.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#B9A955
Tritanopia (blue-blind)
#C39D94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a751;
/* rgb */ color: rgb(182, 167, 81);
/* oklch */ color: oklch(72.3% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#cec084',
    500: '#b6a751',
    950: '#000000',
  },
}
SCSS
$custom: #b6a751;
$custom-light: #cec084;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a751",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 51.089,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72349,
    "c": 0.10864,
    "h": 99.6
  },
  "luminance": 0.38177
}

Semantic roles & 50–950 ramp

primary
#B6A751
secondary
#9BA2C8
accent
#69D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B6A751

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

Preview Lab → · Contrast checker → · Palette generator →

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