#BD9D30#BD9D30

#BD9D30 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.6% C 0.128 H 91.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BD9D30
RGBrgb(189, 157, 48)
HSLhsl(46, 59%, 46%)
HSVhsv(46, 75%, 74%)
CMYKcmyk(0%, 16.9%, 74.6%, 25.9%)
CIE-LABlab(65.86, 0.60, 58.04)
CIE-LCHlch(65.86, 58.04, 89.41°)
OKLaboklab(70.6% -0.0042 0.1279)
OKLCHoklch(70.6% 0.128 91.9)
XYZxyz(33.5786, 35.1482, 7.8114)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D30 #3050BD
analogous
#BD5730 #BD9D30 #97BD30
triadic
#BD9D30 #30BD9D #9D30BD
tetradic
#BD9D30 #30BD57 #3050BD #BD3097
square
#BD9D30 #30BD57 #3050BD #BD3097
split-complementary
#BD9D30 #3097BD #5730BD
monochromatic
#5B4C17 #8C7424 #BD9D30 #D4B856 #E0CC87

Accessibility & contrast

On white

2.62
#BD9D30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#BD9D30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D30
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D30#FFFFFF#000000##000000
##BD9D301.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#CD9088
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9d30;
/* rgb */ color: rgb(189, 157, 48);
/* oklch */ color: oklch(70.6% 0.128 91.9);
Tailwind
colors: {
  custom: {
    50: '#d5b970',
    500: '#bd9d30',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d30;
$custom-light: #d5b970;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d30",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 46.383,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.12797,
    "h": 91.9
  },
  "luminance": 0.35146
}

Semantic roles & 50–950 ramp

primary
#BD9D30
secondary
#7F90CA
accent
#69E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9D30

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

Preview Lab → · Contrast checker → · Palette generator →

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