#BDB92F#BDB92F

#BDB92F is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.6% C 0.151 H 107.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#BDB92F
RGBrgb(189, 185, 47)
HSLhsl(58, 60%, 46%)
HSVhsv(58, 75%, 74%)
CMYKcmyk(0%, 2.1%, 75.1%, 25.9%)
CIE-LABlab(73.37, -14.13, 65.47)
CIE-LCHlch(73.37, 66.98, 102.18°)
OKLaboklab(76.55% -0.046 0.1435)
OKLCHoklch(76.55% 0.151 107.8)
XYZxyz(38.8499, 45.7233, 9.4678)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB92F #2F33BD
analogous
#BD722F #BDB92F #7ABD2F
triadic
#BDB92F #2FBDB9 #B92FBD
tetradic
#BDB92F #2FBD72 #2F33BD #BD2F7A
square
#BDB92F #2FBD72 #2F33BD #BD2F7A
split-complementary
#BDB92F #2F7ABD #722FBD
monochromatic
#5B5917 #8C8923 #BDB92F #D5D155 #E1DE86

Accessibility & contrast

On white

2.07
#BDB92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#BDB92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB92F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB92F#FFFFFF#000000##000000
##BDB92F1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20F
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#CBAD9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb92f;
/* rgb */ color: rgb(189, 185, 47);
/* oklch */ color: oklch(76.6% 0.151 107.8);
Tailwind
colors: {
  custom: {
    50: '#d5cd73',
    500: '#bdb92f',
    950: '#000000',
  },
}
SCSS
$custom: #bdb92f;
$custom-light: #d5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb92f",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 58.31,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76555,
    "c": 0.15069,
    "h": 107.8
  },
  "luminance": 0.45722
}

Semantic roles & 50–950 ramp

primary
#BDB92F
secondary
#7E80CA
accent
#49E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB92F

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

Preview Lab → · Contrast checker → · Palette generator →

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