#BD9E2F#BD9E2F

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

Color values

HEX#BD9E2F
RGBrgb(189, 158, 47)
HSLhsl(47, 60%, 46%)
HSVhsv(47, 75%, 74%)
CMYKcmyk(0%, 16.4%, 75.1%, 25.9%)
CIE-LABlab(66.12, 0.02, 58.66)
CIE-LCHlch(66.12, 58.66, 89.98°)
OKLaboklab(70.8% -0.006 0.129)
OKLCHoklch(70.8% 0.129 92.7)
XYZxyz(33.7281, 35.4798, 7.7606)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9E2F #2F4EBD
analogous
#BD572F #BD9E2F #95BD2F
triadic
#BD9E2F #2FBD9E #9E2FBD
tetradic
#BD9E2F #2FBD57 #2F4EBD #BD2F95
square
#BD9E2F #2FBD57 #2F4EBD #BD2F95
split-complementary
#BD9E2F #2F95BD #572FBD
monochromatic
#5B4C17 #8C7523 #BD9E2F #D5B955 #E1CD86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD9E2F#FFFFFF#000000##000000
##BD9E2F1.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)
#B09B1C
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#CD9188
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9e2f;
/* rgb */ color: rgb(189, 158, 47);
/* oklch */ color: oklch(70.8% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#d5ba70',
    500: '#bd9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #bd9e2f;
$custom-light: #d5ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9e2f",
  "rgb": {
    "r": 189,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 46.901,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.12916,
    "h": 92.7
  },
  "luminance": 0.35478
}

Semantic roles & 50–950 ramp

primary
#BD9E2F
secondary
#7E8ECA
accent
#67E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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