#BDB340#BDB340

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

Color values

HEX#BDB340
RGBrgb(189, 179, 64)
HSLhsl(55, 49%, 50%)
HSVhsv(55, 66%, 74%)
CMYKcmyk(0%, 5.3%, 66.1%, 25.9%)
CIE-LABlab(71.85, -10.20, 57.67)
CIE-LCHlch(71.85, 58.56, 100.03°)
OKLaboklab(75.38% -0.0332 0.13)
OKLCHoklch(75.38% 0.134 104.3)
XYZxyz(38.0333, 43.4306, 11.2290)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB340 #404ABD
analogous
#BD7540 #BDB340 #89BD40
triadic
#BDB340 #40BDB3 #B340BD
tetradic
#BDB340 #40BD75 #404ABD #BD4089
square
#BDB340 #40BD75 #404ABD #BD4089
split-complementary
#BDB340 #4089BD #7540BD
monochromatic
#625C21 #8F8831 #BDB340 #CDC66D #DDD89A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDB340#FFFFFF#000000##000000
##BDB3401.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)
#C2AD31
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#CBA79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb340;
/* rgb */ color: rgb(189, 179, 64);
/* oklch */ color: oklch(75.4% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#d4c97b',
    500: '#bdb340',
    950: '#000000',
  },
}
SCSS
$custom: #bdb340;
$custom-light: #d4c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb340",
  "rgb": {
    "r": 189,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 55.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75379,
    "c": 0.13416,
    "h": 104.3
  },
  "luminance": 0.43429
}

Semantic roles & 50–950 ramp

primary
#BDB340
secondary
#9094C9
accent
#5AD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB340

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

Preview Lab → · Contrast checker → · Palette generator →

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