#B9A855#B9A855

#B9A855 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.106 H 98.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B9A855
RGBrgb(185, 168, 85)
HSLhsl(50, 42%, 53%)
HSVhsv(50, 54%, 73%)
CMYKcmyk(0%, 9.2%, 54.1%, 27.5%)
CIE-LABlab(68.73, -4.64, 44.58)
CIE-LCHlch(68.73, 44.82, 95.95°)
OKLaboklab(72.89% -0.0147 0.1049)
OKLCHoklch(72.89% 0.106 98)
XYZxyz(35.6511, 38.9769, 14.2379)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A855 #5566B9
analogous
#B97655 #B9A855 #98B955
triadic
#B9A855 #55B9A8 #A855B9
tetradic
#B9A855 #55B976 #5566B9 #B95598
square
#B9A855 #55B976 #5566B9 #B95598
split-complementary
#B9A855 #5598B9 #7655B9
monochromatic
#695E2B #94853D #B9A855 #CBBE80 #DDD4AC

Accessibility & contrast

On white

2.39
#B9A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B9A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A855
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A855#FFFFFF#000000##000000
##B9A8551.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44D
Deuteranopia (green-blind)
#BBAA59
Tritanopia (blue-blind)
#C69E95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9a855;
/* rgb */ color: rgb(185, 168, 85);
/* oklch */ color: oklch(72.9% 0.106 98.0);
Tailwind
colors: {
  custom: {
    50: '#d0c187',
    500: '#b9a855',
    950: '#000000',
  },
}
SCSS
$custom: #b9a855;
$custom-light: #d0c187;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a855",
  "rgb": {
    "r": 185,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 49.8,
    "s": 41.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.1059,
    "h": 98
  },
  "luminance": 0.38975
}

Semantic roles & 50–950 ramp

primary
#B9A855
secondary
#9FA7CB
accent
#6BD156
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B9A855

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

Preview Lab → · Contrast checker → · Palette generator →

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