#BDB797#BDB797

#BDB797 is a light, muted yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.044 H 98.5°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#BDB797
RGBrgb(189, 183, 151)
HSLhsl(51, 22%, 67%)
HSVhsv(51, 20%, 74%)
CMYKcmyk(0%, 3.2%, 20.1%, 25.9%)
CIE-LABlab(74.14, -3.20, 17.07)
CIE-LCHlch(74.14, 17.37, 100.60°)
OKLaboklab(77.59% -0.0065 0.0438)
OKLCHoklch(77.59% 0.044 98.5)
XYZxyz(43.5055, 46.9208, 36.0369)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB797 #979DBD
analogous
#BDA497 #BDB797 #B0BD97
triadic
#BDB797 #97BDB7 #B797BD
tetradic
#BDB797 #97BDA4 #979DBD #BD97B0
square
#BDB797 #97BDA4 #979DBD #BD97B0
split-complementary
#BDB797 #97B0BD #A497BD
monochromatic
#857D54 #A59D72 #BDB797 #D5D1BC #EDEBE2

Accessibility & contrast

On white

2.02
#BDB797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#BDB797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB797
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB797#FFFFFF#000000##000000
##BDB7971.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB595
Deuteranopia (green-blind)
#BFB798
Tritanopia (blue-blind)
#C3B2AE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bdb797;
/* rgb */ color: rgb(189, 183, 151);
/* oklch */ color: oklch(77.6% 0.044 98.5);
Tailwind
colors: {
  custom: {
    50: '#d1ccb5',
    500: '#bdb797',
    950: '#000000',
  },
}
SCSS
$custom: #bdb797;
$custom-light: #d1ccb5;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb797",
  "rgb": {
    "r": 189,
    "g": 183,
    "b": 151
  },
  "hsl": {
    "h": 50.526,
    "s": 22.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.77594,
    "c": 0.04424,
    "h": 98.5
  },
  "luminance": 0.4692
}

Semantic roles & 50–950 ramp

primary
#BDB797
secondary
#D2D4DE
accent
#53A145
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#141311
muted
#828280

Preview Lab

Preview with #BDB797

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

Preview Lab → · Contrast checker → · Palette generator →

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