#BDB798#BDB798

#BDB798 is a light, muted yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.043 H 98.2°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BDB798
RGBrgb(189, 183, 152)
HSLhsl(50, 22%, 67%)
HSVhsv(50, 20%, 74%)
CMYKcmyk(0%, 3.2%, 19.6%, 25.9%)
CIE-LABlab(74.16, -3.04, 16.56)
CIE-LCHlch(74.16, 16.83, 100.42°)
OKLaboklab(77.62% -0.0061 0.0425)
OKLCHoklch(77.62% 0.043 98.2)
XYZxyz(43.5870, 46.9534, 36.4665)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB798 #989EBD
analogous
#BDA598 #BDB798 #B1BD98
triadic
#BDB798 #98BDB7 #B798BD
tetradic
#BDB798 #98BDA5 #989EBD #BD98B1
square
#BDB798 #98BDA5 #989EBD #BD98B1
split-complementary
#BDB798 #98B1BD #A598BD
monochromatic
#857D55 #A59D73 #BDB798 #D5D1BD #EDEBE3

Accessibility & contrast

On white

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

On black

10.39
#BDB798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB798
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB798#FFFFFF#000000##000000
##BDB7981.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdb798;
/* rgb */ color: rgb(189, 183, 152);
/* oklch */ color: oklch(77.6% 0.043 98.2);
Tailwind
colors: {
  custom: {
    50: '#d1ccb6',
    500: '#bdb798',
    950: '#000000',
  },
}
SCSS
$custom: #bdb798;
$custom-light: #d1ccb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb798",
  "rgb": {
    "r": 189,
    "g": 183,
    "b": 152
  },
  "hsl": {
    "h": 50.27,
    "s": 21.893,
    "l": 66.863
  },
  "oklch": {
    "l": 0.77618,
    "c": 0.04293,
    "h": 98.2
  },
  "luminance": 0.46953
}

Semantic roles & 50–950 ramp

primary
#BDB798
secondary
#D2D4DE
accent
#54A045
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#141311
muted
#828280

Preview Lab

Preview with #BDB798

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

Preview Lab → · Contrast checker → · Palette generator →

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