#BDA938#BDA938

#BDA938 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.2% C 0.131 H 99.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BDA938
RGBrgb(189, 169, 56)
HSLhsl(51, 54%, 48%)
HSVhsv(51, 70%, 74%)
CMYKcmyk(0%, 10.6%, 70.4%, 25.9%)
CIE-LABlab(69.10, -5.41, 58.11)
CIE-LCHlch(69.10, 58.36, 95.32°)
OKLaboklab(73.18% -0.0205 0.1296)
OKLCHoklch(73.18% 0.131 99)
XYZxyz(35.8897, 39.4820, 9.4710)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA938 #384CBD
analogous
#BD6638 #BDA938 #8FBD38
triadic
#BDA938 #38BDA9 #A938BD
tetradic
#BDA938 #38BD66 #384CBD #BD388F
square
#BDA938 #38BD66 #384CBD #BD388F
split-complementary
#BDA938 #388FBD #6638BD
monochromatic
#5F551C #8E7F2A #BDA938 #D0C062 #DED391

Accessibility & contrast

On white

2.36
#BDA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BDA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA938
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA938#FFFFFF#000000##000000
##BDA9381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bda938;
/* rgb */ color: rgb(189, 169, 56);
/* oklch */ color: oklch(73.2% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#d4c275',
    500: '#bda938',
    950: '#000000',
  },
}
SCSS
$custom: #bda938;
$custom-light: #d4c275;
$custom-dark: #000000;
JSON
{
  "hex": "#bda938",
  "rgb": {
    "r": 189,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 50.977,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73179,
    "c": 0.13117,
    "h": 99
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

primary
#BDA938
secondary
#8791C9
accent
#60DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA938

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

Preview Lab → · Contrast checker → · Palette generator →

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