#BDA740#BDA740

#BDA740 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.124 H 97.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BDA740
RGBrgb(189, 167, 64)
HSLhsl(49, 49%, 50%)
HSVhsv(49, 66%, 74%)
CMYKcmyk(0%, 11.6%, 66.1%, 25.9%)
CIE-LABlab(68.63, -3.91, 54.30)
CIE-LCHlch(68.63, 54.44, 94.11°)
OKLaboklab(72.82% -0.0153 0.1229)
OKLCHoklch(72.82% 0.124 97.1)
XYZxyz(35.7320, 38.8281, 10.4620)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA740 #4056BD
analogous
#BD6940 #BDA740 #95BD40
triadic
#BDA740 #40BDA7 #A740BD
tetradic
#BDA740 #40BD69 #4056BD #BD4095
square
#BDA740 #40BD69 #4056BD #BD4095
split-complementary
#BDA740 #4095BD #6940BD
monochromatic
#625621 #8F7F31 #BDA740 #CDBC6D #DDD19A

Accessibility & contrast

On white

2.40
#BDA740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#BDA740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA740
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA740#FFFFFF#000000##000000
##BDA7401.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#CB9B91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bda740;
/* rgb */ color: rgb(189, 167, 64);
/* oklch */ color: oklch(72.8% 0.124 97.1);
Tailwind
colors: {
  custom: {
    50: '#d4c07a',
    500: '#bda740',
    950: '#000000',
  },
}
SCSS
$custom: #bda740;
$custom-light: #d4c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda740",
  "rgb": {
    "r": 189,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 49.44,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.12382,
    "h": 97.1
  },
  "luminance": 0.38826
}

Semantic roles & 50–950 ramp

primary
#BDA740
secondary
#909AC9
accent
#67D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA740

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

Preview Lab → · Contrast checker → · Palette generator →

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