#BDA840#BDA840

#BDA840 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.125 H 97.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BDA840
RGBrgb(189, 168, 64)
HSLhsl(50, 49%, 50%)
HSVhsv(50, 66%, 74%)
CMYKcmyk(0%, 11.1%, 66.1%, 25.9%)
CIE-LABlab(68.89, -4.44, 54.58)
CIE-LCHlch(68.89, 54.76, 94.65°)
OKLaboklab(73.04% -0.0168 0.1235)
OKLCHoklch(73.04% 0.125 97.8)
XYZxyz(35.9159, 39.1960, 10.5233)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA840 #4055BD
analogous
#BD6A40 #BDA840 #94BD40
triadic
#BDA840 #40BDA8 #A840BD
tetradic
#BDA840 #40BD6A #4055BD #BD4094
square
#BDA840 #40BD6A #4055BD #BD4094
split-complementary
#BDA840 #4094BD #6A40BD
monochromatic
#625721 #8F7F31 #BDA840 #CDBD6D #DDD29A

Accessibility & contrast

On white

2.38
#BDA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BDA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA840
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA840#FFFFFF#000000##000000
##BDA8401.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BEAB46
Tritanopia (blue-blind)
#CB9C92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda840;
/* rgb */ color: rgb(189, 168, 64);
/* oklch */ color: oklch(73.0% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#d4c17a',
    500: '#bda840',
    950: '#000000',
  },
}
SCSS
$custom: #bda840;
$custom-light: #d4c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda840",
  "rgb": {
    "r": 189,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 49.92,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73035,
    "c": 0.1246,
    "h": 97.8
  },
  "luminance": 0.39194
}

Semantic roles & 50–950 ramp

primary
#BDA840
secondary
#9099C9
accent
#66D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA840

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

Preview Lab → · Contrast checker → · Palette generator →

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