#BDB257#BDB257

#BDB257 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.114 H 102.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BDB257
RGBrgb(189, 178, 87)
HSLhsl(54, 44%, 54%)
HSVhsv(54, 54%, 74%)
CMYKcmyk(0%, 5.8%, 54%, 25.9%)
CIE-LABlab(71.79, -8.05, 47.28)
CIE-LCHlch(71.79, 47.96, 99.66°)
OKLaboklab(75.4% -0.0245 0.1109)
OKLCHoklch(75.4% 0.114 102.5)
XYZxyz(38.6282, 43.3491, 15.3474)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB257 #5762BD
analogous
#BD7F57 #BDB257 #95BD57
triadic
#BDB257 #57BDB2 #B257BD
tetradic
#BDB257 #57BD7F #5762BD #BD5795
square
#BDB257 #57BD7F #5762BD #BD5795
split-complementary
#BDB257 #5795BD #7F57BD
monochromatic
#6E672B #9A903D #BDB257 #CEC683 #E0DAAF

Accessibility & contrast

On white

2.17
#BDB257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BDB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB257
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB257#FFFFFF#000000##000000
##BDB2571.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4E
Deuteranopia (green-blind)
#C3B25B
Tritanopia (blue-blind)
#CAA79D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb257;
/* rgb */ color: rgb(189, 178, 87);
/* oklch */ color: oklch(75.4% 0.114 102.5);
Tailwind
colors: {
  custom: {
    50: '#d3c889',
    500: '#bdb257',
    950: '#000000',
  },
}
SCSS
$custom: #bdb257;
$custom-light: #d3c889;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb257",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 53.529,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75404,
    "c": 0.11354,
    "h": 102.5
  },
  "luminance": 0.43348
}

Semantic roles & 50–950 ramp

primary
#BDB257
secondary
#A2A7CE
accent
#62D354
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BDB257

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

Preview Lab → · Contrast checker → · Palette generator →

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