#B5A656#B5A656

#B5A656 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.103 H 98.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B5A656
RGBrgb(181, 166, 86)
HSLhsl(51, 39%, 52%)
HSVhsv(51, 52%, 71%)
CMYKcmyk(0%, 8.3%, 52.5%, 29%)
CIE-LABlab(67.85, -5.19, 42.95)
CIE-LCHlch(67.85, 43.26, 96.90°)
OKLaboklab(72.11% -0.0159 0.1015)
OKLCHoklch(72.11% 0.103 98.9)
XYZxyz(34.3731, 37.7694, 14.2819)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A656 #5665B5
analogous
#B57656 #B5A656 #95B556
triadic
#B5A656 #56B5A6 #A656B5
tetradic
#B5A656 #56B576 #5665B5 #B55695
square
#B5A656 #56B576 #5665B5 #B55695
split-complementary
#B5A656 #5695B5 #7656B5
monochromatic
#655C2C #8F823F #B5A656 #C8BC81 #DAD3AB

Accessibility & contrast

On white

2.46
#B5A656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B5A656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A656
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A656#FFFFFF#000000##000000
##B5A6561.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24F
Deuteranopia (green-blind)
#B8A85A
Tritanopia (blue-blind)
#C19C94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a656;
/* rgb */ color: rgb(181, 166, 86);
/* oklch */ color: oklch(72.1% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#cdc088',
    500: '#b5a656',
    950: '#000000',
  },
}
SCSS
$custom: #b5a656;
$custom-light: #cdc088;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a656",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 86
  },
  "hsl": {
    "h": 50.526,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72107,
    "c": 0.10274,
    "h": 98.9
  },
  "luminance": 0.37768
}

Semantic roles & 50–950 ramp

primary
#B5A656
secondary
#9FA5C8
accent
#6BCF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5A656

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

Preview Lab → · Contrast checker → · Palette generator →

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