#BDB271#BDB271

#BDB271 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.086 H 99.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#BDB271
RGBrgb(189, 178, 113)
HSLhsl(51, 37%, 59%)
HSVhsv(51, 40%, 74%)
CMYKcmyk(0%, 5.8%, 40.2%, 25.9%)
CIE-LABlab(72.13, -5.53, 34.62)
CIE-LCHlch(72.13, 35.06, 99.07°)
OKLaboklab(75.78% -0.0147 0.0847)
OKLCHoklch(75.78% 0.086 99.8)
XYZxyz(39.8881, 43.8530, 21.9829)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB271 #717CBD
analogous
#BD8C71 #BDB271 #A2BD71
triadic
#BDB271 #71BDB2 #B271BD
tetradic
#BDB271 #71BD8C #717CBD #BD71A2
square
#BDB271 #71BD8C #717CBD #BD71A2
split-complementary
#BDB271 #71A2BD #8C71BD
monochromatic
#7B7139 #A4984C #BDB271 #D0C99B #E4DFC5

Accessibility & contrast

On white

2.15
#BDB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#BDB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB271
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB271#FFFFFF#000000##000000
##BDB2711.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAE6C
Deuteranopia (green-blind)
#C1B374
Tritanopia (blue-blind)
#C8A9A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bdb271;
/* rgb */ color: rgb(189, 178, 113);
/* oklch */ color: oklch(75.8% 0.086 99.8);
Tailwind
colors: {
  custom: {
    50: '#d2c89a',
    500: '#bdb271',
    950: '#000000',
  },
}
SCSS
$custom: #bdb271;
$custom-light: #d2c89a;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb271",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 51.316,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.75783,
    "c": 0.08592,
    "h": 99.8
  },
  "luminance": 0.43852
}

Semantic roles & 50–950 ramp

primary
#BDB271
secondary
#B6BAD4
accent
#6CCD5B
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E

Preview Lab

Preview with #BDB271

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

Preview Lab → · Contrast checker → · Palette generator →

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