#BDAB38#BDAB38

#BDAB38 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.133 H 100.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BDAB38
RGBrgb(189, 171, 56)
HSLhsl(52, 54%, 48%)
HSVhsv(52, 70%, 74%)
CMYKcmyk(0%, 9.5%, 70.4%, 25.9%)
CIE-LABlab(69.63, -6.47, 58.64)
CIE-LCHlch(69.63, 59.00, 96.29°)
OKLaboklab(73.6% -0.0235 0.1307)
OKLCHoklch(73.6% 0.133 100.2)
XYZxyz(36.2646, 40.2318, 9.5959)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB38 #384ABD
analogous
#BD6938 #BDAB38 #8CBD38
triadic
#BDAB38 #38BDAB #AB38BD
tetradic
#BDAB38 #38BD69 #384ABD #BD388C
square
#BDAB38 #38BD69 #384ABD #BD388C
split-complementary
#BDAB38 #388CBD #6938BD
monochromatic
#5F561C #8E802A #BDAB38 #D0C162 #DED491

Accessibility & contrast

On white

2.32
#BDAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BDAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB38
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB38#FFFFFF#000000##000000
##BDAB381.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#CC9F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab38;
/* rgb */ color: rgb(189, 171, 56);
/* oklch */ color: oklch(73.6% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#d4c376',
    500: '#bdab38',
    950: '#000000',
  },
}
SCSS
$custom: #bdab38;
$custom-light: #d4c376;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab38",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 51.88,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73603,
    "c": 0.13278,
    "h": 100.2
  },
  "luminance": 0.4023
}

Semantic roles & 50–950 ramp

primary
#BDAB38
secondary
#8790C9
accent
#5EDE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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