#B6A151#B6A151

#B6A151 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.103 H 94.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B6A151
RGBrgb(182, 161, 81)
HSLhsl(48, 41%, 52%)
HSVhsv(48, 55%, 71%)
CMYKcmyk(0%, 11.5%, 55.5%, 28.6%)
CIE-LABlab(66.54, -2.52, 43.90)
CIE-LCHlch(66.54, 43.98, 93.29°)
OKLaboklab(71.08% -0.0088 0.1031)
OKLCHoklch(71.08% 0.103 94.9)
XYZxyz(33.5227, 36.0304, 12.9718)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A151 #5166B6
analogous
#B66F51 #B6A151 #99B651
triadic
#B6A151 #51B6A1 #A151B6
tetradic
#B6A151 #51B66F #5166B6 #B65199
square
#B6A151 #51B66F #5166B6 #B65199
split-complementary
#B6A151 #5199B6 #6F51B6
monochromatic
#63572A #8E7D3C #B6A151 #C8B87C #DAD0A7

Accessibility & contrast

On white

2.56
#B6A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B6A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A151
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A151#FFFFFF#000000##000000
##B6A1511.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4A
Deuteranopia (green-blind)
#B5A554
Tritanopia (blue-blind)
#C3968F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a151;
/* rgb */ color: rgb(182, 161, 81);
/* oklch */ color: oklch(71.1% 0.103 94.9);
Tailwind
colors: {
  custom: {
    50: '#cebc84',
    500: '#b6a151',
    950: '#000000',
  },
}
SCSS
$custom: #b6a151;
$custom-light: #cebc84;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a151",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 47.525,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71076,
    "c": 0.10344,
    "h": 94.9
  },
  "luminance": 0.36029
}

Semantic roles & 50–950 ramp

primary
#B6A151
secondary
#9BA4C8
accent
#70D157
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B6A151

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

Preview Lab → · Contrast checker → · Palette generator →

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