#BD9A2F#BD9A2F

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

Color values

HEX#BD9A2F
RGBrgb(189, 154, 47)
HSLhsl(45, 60%, 46%)
HSVhsv(45, 75%, 74%)
CMYKcmyk(0%, 18.5%, 75.1%, 25.9%)
CIE-LABlab(65.07, 2.18, 57.66)
CIE-LCHlch(65.07, 57.70, 87.84°)
OKLaboklab(69.97% 0.0001 0.1269)
OKLCHoklch(69.97% 0.127 89.9)
XYZxyz(33.0569, 34.1373, 7.5368)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9A2F #2F52BD
analogous
#BD532F #BD9A2F #99BD2F
triadic
#BD9A2F #2FBD9A #9A2FBD
tetradic
#BD9A2F #2FBD53 #2F52BD #BD2F99
square
#BD9A2F #2FBD53 #2F52BD #BD2F99
split-complementary
#BD9A2F #2F99BD #532FBD
monochromatic
#5B4A17 #8C7223 #BD9A2F #D5B555 #E1CA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD9A2F#FFFFFF#000000##000000
##BD9A2F1.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)
#AC981D
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#CD8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9a2f;
/* rgb */ color: rgb(189, 154, 47);
/* oklch */ color: oklch(70.0% 0.127 89.9);
Tailwind
colors: {
  custom: {
    50: '#d5b76f',
    500: '#bd9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #bd9a2f;
$custom-light: #d5b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9a2f",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 45.211,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69975,
    "c": 0.12688,
    "h": 89.9
  },
  "luminance": 0.34135
}

Semantic roles & 50–950 ramp

primary
#BD9A2F
secondary
#7E90CA
accent
#6CE344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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