#BDA042#BDA042

#BDA042 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.117 H 91.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BDA042
RGBrgb(189, 160, 66)
HSLhsl(46, 48%, 50%)
HSVhsv(46, 65%, 74%)
CMYKcmyk(0%, 15.3%, 65.1%, 25.9%)
CIE-LABlab(66.79, -0.04, 51.46)
CIE-LCHlch(66.79, 51.46, 90.05°)
OKLaboklab(71.38% -0.004 0.1172)
OKLCHoklch(71.38% 0.117 91.9)
XYZxyz(34.5421, 36.3557, 10.3511)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA042 #425FBD
analogous
#BD6342 #BDA042 #9CBD42
triadic
#BDA042 #42BDA0 #A042BD
tetradic
#BDA042 #42BD63 #425FBD #BD429C
square
#BDA042 #42BD63 #425FBD #BD429C
split-complementary
#BDA042 #429CBD #6342BD
monochromatic
#625322 #907A32 #BDA042 #CDB76F #DDCE9D

Accessibility & contrast

On white

2.54
#BDA042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#BDA042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA042
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA042#FFFFFF#000000##000000
##BDA0421.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E37
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#CC948C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bda042;
/* rgb */ color: rgb(189, 160, 66);
/* oklch */ color: oklch(71.4% 0.117 91.9);
Tailwind
colors: {
  custom: {
    50: '#d4bb7b',
    500: '#bda042',
    950: '#000000',
  },
}
SCSS
$custom: #bda042;
$custom-light: #d4bb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda042",
  "rgb": {
    "r": 189,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 45.854,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.71378,
    "c": 0.11723,
    "h": 91.9
  },
  "luminance": 0.36354
}

Semantic roles & 50–950 ramp

primary
#BDA042
secondary
#929FC9
accent
#70D850
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BDA042

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

Preview Lab → · Contrast checker → · Palette generator →

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