#BDB338#BDB338

#BDB338 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.140 H 104.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BDB338
RGBrgb(189, 179, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 70%, 74%)
CMYKcmyk(0%, 5.3%, 70.4%, 25.9%)
CIE-LABlab(71.79, -10.64, 60.78)
CIE-LCHlch(71.79, 61.70, 99.93°)
OKLaboklab(75.32% -0.0353 0.1352)
OKLCHoklch(75.32% 0.14 104.6)
XYZxyz(37.8217, 43.3460, 10.1150)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB338 #3842BD
analogous
#BD7138 #BDB338 #84BD38
triadic
#BDB338 #38BDB3 #B338BD
tetradic
#BDB338 #38BD71 #3842BD #BD3884
square
#BDB338 #38BD71 #3842BD #BD3884
split-complementary
#BDB338 #3884BD #7138BD
monochromatic
#5F5A1C #8E862A #BDB338 #D0C862 #DED991

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDB338#FFFFFF#000000##000000
##BDB3381.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)
#C3AD24
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#CBA79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb338;
/* rgb */ color: rgb(189, 179, 56);
/* oklch */ color: oklch(75.3% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#d4c976',
    500: '#bdb338',
    950: '#000000',
  },
}
SCSS
$custom: #bdb338;
$custom-light: #d4c976;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb338",
  "rgb": {
    "r": 189,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 55.489,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75316,
    "c": 0.13974,
    "h": 104.6
  },
  "luminance": 0.43345
}

Semantic roles & 50–950 ramp

primary
#BDB338
secondary
#878CC9
accent
#55DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB338

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

Preview Lab → · Contrast checker → · Palette generator →

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