#BD9A2E#BD9A2E

#BD9A2E is a light, vivid yellow. Relative luminance 0.341; OKLCH L 70.0% C 0.127 H 90.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BD9A2E
RGBrgb(189, 154, 46)
HSLhsl(45, 61%, 46%)
HSVhsv(45, 76%, 74%)
CMYKcmyk(0%, 18.5%, 75.7%, 25.9%)
CIE-LABlab(65.07, 2.13, 58.03)
CIE-LCHlch(65.07, 58.07, 87.89°)
OKLaboklab(69.97% -0.0001 0.1275)
OKLCHoklch(69.97% 0.127 90)
XYZxyz(33.0369, 34.1294, 7.4318)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9A2E #2E51BD
analogous
#BD532E #BD9A2E #98BD2E
triadic
#BD9A2E #2EBD9A #9A2EBD
tetradic
#BD9A2E #2EBD53 #2E51BD #BD2E98
square
#BD9A2E #2EBD53 #2E51BD #BD2E98
split-complementary
#BD9A2E #2E98BD #532EBD
monochromatic
#5B4A16 #8C7222 #BD9A2E #D5B553 #E1CA84

Accessibility & contrast

On white

2.68
#BD9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BD9A2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9A2E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9A2E#FFFFFF#000000##000000
##BD9A2E1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#CD8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9a2e;
/* rgb */ color: rgb(189, 154, 46);
/* oklch */ color: oklch(70.0% 0.127 90.0);
Tailwind
colors: {
  custom: {
    50: '#d5b76f',
    500: '#bd9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #bd9a2e;
$custom-light: #d5b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9a2e",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 45.315,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.12747,
    "h": 90
  },
  "luminance": 0.34127
}

Semantic roles & 50–950 ramp

primary
#BD9A2E
secondary
#7C8FCA
accent
#6BE444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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