#BDAC38#BDAC38

#BDAC38 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.8% C 0.134 H 100.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#BDAC38
RGBrgb(189, 172, 56)
HSLhsl(52, 54%, 48%)
HSVhsv(52, 70%, 74%)
CMYKcmyk(0%, 9%, 70.4%, 25.9%)
CIE-LABlab(69.90, -6.99, 58.91)
CIE-LCHlch(69.90, 59.32, 96.77°)
OKLaboklab(73.82% -0.025 0.1312)
OKLCHoklch(73.82% 0.134 100.8)
XYZxyz(36.4542, 40.6110, 9.6591)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAC38 #3849BD
analogous
#BD6938 #BDAC38 #8BBD38
triadic
#BDAC38 #38BDAC #AC38BD
tetradic
#BDAC38 #38BD69 #3849BD #BD388B
square
#BDAC38 #38BD69 #3849BD #BD388B
split-complementary
#BDAC38 #388BBD #6938BD
monochromatic
#5F561C #8E812A #BDAC38 #D0C262 #DED591

Accessibility & contrast

On white

2.30
#BDAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#BDAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAC38
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAC38#FFFFFF#000000##000000
##BDAC381.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#CBA095
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bdac38;
/* rgb */ color: rgb(189, 172, 56);
/* oklch */ color: oklch(73.8% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#d4c476',
    500: '#bdac38',
    950: '#000000',
  },
}
SCSS
$custom: #bdac38;
$custom-light: #d4c476;
$custom-dark: #000000;
JSON
{
  "hex": "#bdac38",
  "rgb": {
    "r": 189,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 52.331,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73816,
    "c": 0.1336,
    "h": 100.8
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#BDAC38
secondary
#8790C9
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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