#B7A855#B7A855

#B7A855 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.106 H 99.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B7A855
RGBrgb(183, 168, 85)
HSLhsl(51, 40%, 53%)
HSVhsv(51, 54%, 72%)
CMYKcmyk(0%, 8.2%, 53.6%, 28.2%)
CIE-LABlab(68.56, -5.49, 44.32)
CIE-LCHlch(68.56, 44.66, 97.07°)
OKLaboklab(72.7% -0.017 0.1044)
OKLCHoklch(72.7% 0.106 99.3)
XYZxyz(35.1719, 38.7298, 14.2155)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A855 #5564B7
analogous
#B77755 #B7A855 #95B755
triadic
#B7A855 #55B7A8 #A855B7
tetradic
#B7A855 #55B777 #5564B7 #B75595
square
#B7A855 #55B777 #5564B7 #B75595
split-complementary
#B7A855 #5595B7 #7755B7
monochromatic
#665D2B #91843E #B7A855 #C9BE80 #DBD4AB

Accessibility & contrast

On white

2.40
#B7A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B7A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A855
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A855#FFFFFF#000000##000000
##B7A8551.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44D
Deuteranopia (green-blind)
#BAAA59
Tritanopia (blue-blind)
#C39E95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a855;
/* rgb */ color: rgb(183, 168, 85);
/* oklch */ color: oklch(72.7% 0.106 99.3);
Tailwind
colors: {
  custom: {
    50: '#cfc187',
    500: '#b7a855',
    950: '#000000',
  },
}
SCSS
$custom: #b7a855;
$custom-light: #cfc187;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a855",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 50.816,
    "s": 40.496,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72704,
    "c": 0.10574,
    "h": 99.3
  },
  "luminance": 0.38728
}

Semantic roles & 50–950 ramp

primary
#B7A855
secondary
#9FA5C9
accent
#6AD057
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7A855

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

Preview Lab → · Contrast checker → · Palette generator →

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