#BDA240#BDA240

#BDA240 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.8% C 0.120 H 93.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BDA240
RGBrgb(189, 162, 64)
HSLhsl(47, 49%, 50%)
HSVhsv(47, 66%, 74%)
CMYKcmyk(0%, 14.3%, 66.1%, 25.9%)
CIE-LABlab(67.30, -1.24, 52.90)
CIE-LCHlch(67.30, 52.91, 91.34°)
OKLaboklab(71.78% -0.0077 0.1199)
OKLCHoklch(71.78% 0.12 93.7)
XYZxyz(34.8337, 37.0315, 10.1625)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA240 #405BBD
analogous
#BD6440 #BDA240 #9ABD40
triadic
#BDA240 #40BDA2 #A240BD
tetradic
#BDA240 #40BD64 #405BBD #BD409A
square
#BDA240 #40BD64 #405BBD #BD409A
split-complementary
#BDA240 #409ABD #6440BD
monochromatic
#625421 #8F7B31 #BDA240 #CDB96D #DDCF9A

Accessibility & contrast

On white

2.50
#BDA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BDA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA240
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA240#FFFFFF#000000##000000
##BDA2401.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#CC968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda240;
/* rgb */ color: rgb(189, 162, 64);
/* oklch */ color: oklch(71.8% 0.120 93.7);
Tailwind
colors: {
  custom: {
    50: '#d4bd79',
    500: '#bda240',
    950: '#000000',
  },
}
SCSS
$custom: #bda240;
$custom-light: #d4bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bda240",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 47.04,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71775,
    "c": 0.12013,
    "h": 93.7
  },
  "luminance": 0.3703
}

Semantic roles & 50–950 ramp

primary
#BDA240
secondary
#909CC9
accent
#6DD94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA240

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

Preview Lab → · Contrast checker → · Palette generator →

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