#BD9E30#BD9E30

#BD9E30 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.129 H 92.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#BD9E30
RGBrgb(189, 158, 48)
HSLhsl(47, 59%, 46%)
HSVhsv(47, 75%, 74%)
CMYKcmyk(0%, 16.4%, 74.6%, 25.9%)
CIE-LABlab(66.13, 0.06, 58.29)
CIE-LCHlch(66.13, 58.29, 89.94°)
OKLaboklab(70.81% -0.0058 0.1284)
OKLCHoklch(70.81% 0.129 92.6)
XYZxyz(33.7485, 35.4879, 7.8680)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9E30 #304FBD
analogous
#BD5830 #BD9E30 #96BD30
triadic
#BD9E30 #30BD9E #9E30BD
tetradic
#BD9E30 #30BD58 #304FBD #BD3096
square
#BD9E30 #30BD58 #304FBD #BD3096
split-complementary
#BD9E30 #3096BD #5830BD
monochromatic
#5B4C17 #8C7524 #BD9E30 #D4B856 #E0CD87

Accessibility & contrast

On white

2.59
#BD9E30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#BD9E30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9E30
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9E30#FFFFFF#000000##000000
##BD9E301.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#B7A536
Tritanopia (blue-blind)
#CD9188
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9e30;
/* rgb */ color: rgb(189, 158, 48);
/* oklch */ color: oklch(70.8% 0.129 92.6);
Tailwind
colors: {
  custom: {
    50: '#d5ba70',
    500: '#bd9e30',
    950: '#000000',
  },
}
SCSS
$custom: #bd9e30;
$custom-light: #d5ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9e30",
  "rgb": {
    "r": 189,
    "g": 158,
    "b": 48
  },
  "hsl": {
    "h": 46.809,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.12856,
    "h": 92.6
  },
  "luminance": 0.35486
}

Semantic roles & 50–950 ramp

primary
#BD9E30
secondary
#7F8FCA
accent
#68E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9E30

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

Preview Lab → · Contrast checker → · Palette generator →

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