#BDAA38#BDAA38

#BDAA38 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.132 H 99.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BDAA38
RGBrgb(189, 170, 56)
HSLhsl(51, 54%, 48%)
HSVhsv(51, 70%, 74%)
CMYKcmyk(0%, 10.1%, 70.4%, 25.9%)
CIE-LABlab(69.37, -5.94, 58.37)
CIE-LCHlch(69.37, 58.68, 95.81°)
OKLaboklab(73.39% -0.022 0.1301)
OKLCHoklch(73.39% 0.132 99.6)
XYZxyz(36.0765, 39.8555, 9.5332)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAA38 #384BBD
analogous
#BD6838 #BDAA38 #8DBD38
triadic
#BDAA38 #38BDAA #AA38BD
tetradic
#BDAA38 #38BD68 #384BBD #BD388D
square
#BDAA38 #38BD68 #384BBD #BD388D
split-complementary
#BDAA38 #388DBD #6838BD
monochromatic
#5F551C #8E802A #BDAA38 #D0C162 #DED391

Accessibility & contrast

On white

2.34
#BDAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BDAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAA38
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAA38#FFFFFF#000000##000000
##BDAA381.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#CC9E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bdaa38;
/* rgb */ color: rgb(189, 170, 56);
/* oklch */ color: oklch(73.4% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#d4c276',
    500: '#bdaa38',
    950: '#000000',
  },
}
SCSS
$custom: #bdaa38;
$custom-light: #d4c276;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaa38",
  "rgb": {
    "r": 189,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 51.429,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.13196,
    "h": 99.6
  },
  "luminance": 0.39854
}

Semantic roles & 50–950 ramp

primary
#BDAA38
secondary
#8791C9
accent
#5FDE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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