#BDB342#BDB342

#BDB342 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.133 H 104.3°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#BDB342
RGBrgb(189, 179, 66)
HSLhsl(55, 48%, 50%)
HSVhsv(55, 65%, 74%)
CMYKcmyk(0%, 5.3%, 65.1%, 25.9%)
CIE-LABlab(71.86, -10.08, 56.85)
CIE-LCHlch(71.86, 57.74, 100.05°)
OKLaboklab(75.4% -0.0327 0.1286)
OKLCHoklch(75.4% 0.133 104.3)
XYZxyz(38.0912, 43.4538, 11.5342)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB342 #424CBD
analogous
#BD7642 #BDB342 #89BD42
triadic
#BDB342 #42BDB3 #B342BD
tetradic
#BDB342 #42BD76 #424CBD #BD4289
square
#BDB342 #42BD76 #424CBD #BD4289
split-complementary
#BDB342 #4289BD #7642BD
monochromatic
#625D22 #908832 #BDB342 #CDC56F #DDD79D

Accessibility & contrast

On white

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

On black

9.69
#BDB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB342
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB342#FFFFFF#000000##000000
##BDB3421.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#CBA79C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb342;
/* rgb */ color: rgb(189, 179, 66);
/* oklch */ color: oklch(75.4% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#d4c97c',
    500: '#bdb342',
    950: '#000000',
  },
}
SCSS
$custom: #bdb342;
$custom-light: #d4c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb342",
  "rgb": {
    "r": 189,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 55.122,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.75397,
    "c": 0.13266,
    "h": 104.3
  },
  "luminance": 0.43452
}

Semantic roles & 50–950 ramp

primary
#BDB342
secondary
#9296C9
accent
#5BD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB342

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

Preview Lab → · Contrast checker → · Palette generator →

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