#BDA03F#BDA03F

#BDA03F is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.120 H 92.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BDA03F
RGBrgb(189, 160, 63)
HSLhsl(46, 50%, 49%)
HSVhsv(46, 67%, 74%)
CMYKcmyk(0%, 15.3%, 66.7%, 25.9%)
CIE-LABlab(66.76, -0.23, 52.77)
CIE-LCHlch(66.76, 52.77, 90.25°)
OKLaboklab(71.35% -0.0049 0.1195)
OKLCHoklch(71.35% 0.12 92.3)
XYZxyz(34.4560, 36.3212, 9.8975)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA03F #3F5CBD
analogous
#BD613F #BDA03F #9BBD3F
triadic
#BDA03F #3FBDA0 #A03FBD
tetradic
#BDA03F #3FBD61 #3F5CBD #BD3F9B
square
#BDA03F #3FBD61 #3F5CBD #BD3F9B
split-complementary
#BDA03F #3F9BBD #613FBD
monochromatic
#615220 #8F7930 #BDA03F #CEB76B #DDCD99

Accessibility & contrast

On white

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

On black

8.26
#BDA03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA03F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA03F#FFFFFF#000000##000000
##BDA03F1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bda03f;
/* rgb */ color: rgb(189, 160, 63);
/* oklch */ color: oklch(71.3% 0.120 92.3);
Tailwind
colors: {
  custom: {
    50: '#d4bb79',
    500: '#bda03f',
    950: '#000000',
  },
}
SCSS
$custom: #bda03f;
$custom-light: #d4bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bda03f",
  "rgb": {
    "r": 189,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 46.19,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71349,
    "c": 0.11956,
    "h": 92.3
  },
  "luminance": 0.36319
}

Semantic roles & 50–950 ramp

primary
#BDA03F
secondary
#8F9CC9
accent
#6EDA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BDA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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