#BDB158#BDB158

#BDB158 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.112 H 101.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#BDB158
RGBrgb(189, 177, 88)
HSLhsl(53, 43%, 54%)
HSVhsv(53, 53%, 74%)
CMYKcmyk(0%, 6.3%, 53.4%, 25.9%)
CIE-LABlab(71.53, -7.44, 46.50)
CIE-LCHlch(71.53, 47.09, 99.09°)
OKLaboklab(75.2% -0.0226 0.1093)
OKLCHoklch(75.2% 0.112 101.7)
XYZxyz(38.4711, 42.9690, 15.4980)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB158 #5864BD
analogous
#BD7F58 #BDB158 #97BD58
triadic
#BDB158 #58BDB1 #B158BD
tetradic
#BDB158 #58BD7F #5864BD #BD5897
square
#BDB158 #58BD7F #5864BD #BD5897
split-complementary
#BDB158 #5897BD #7F58BD
monochromatic
#6F672C #9B903D #BDB158 #CEC584 #E0DAB0

Accessibility & contrast

On white

2.19
#BDB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#BDB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB158
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB158#FFFFFF#000000##000000
##BDB1581.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC50
Deuteranopia (green-blind)
#C3B25C
Tritanopia (blue-blind)
#CAA69D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb158;
/* rgb */ color: rgb(189, 177, 88);
/* oklch */ color: oklch(75.2% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#d3c88a',
    500: '#bdb158',
    950: '#000000',
  },
}
SCSS
$custom: #bdb158;
$custom-light: #d3c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb158",
  "rgb": {
    "r": 189,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 52.871,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75204,
    "c": 0.1116,
    "h": 101.7
  },
  "luminance": 0.42968
}

Semantic roles & 50–950 ramp

primary
#BDB158
secondary
#A3A8CE
accent
#64D355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BDB158

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

Preview Lab → · Contrast checker → · Palette generator →

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