#BDA251#BDA251

#BDA251 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 72.0% C 0.106 H 91.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BDA251
RGBrgb(189, 162, 81)
HSLhsl(45, 45%, 53%)
HSVhsv(45, 57%, 74%)
CMYKcmyk(0%, 14.3%, 57.1%, 25.9%)
CIE-LABlab(67.47, -0.06, 45.15)
CIE-LCHlch(67.47, 45.15, 90.07°)
OKLaboklab(71.96% -0.0021 0.1056)
OKLCHoklch(71.96% 0.106 91.2)
XYZxyz(35.3933, 37.2553, 13.1097)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA251 #516CBD
analogous
#BD6C51 #BDA251 #A2BD51
triadic
#BDA251 #51BDA2 #A251BD
tetradic
#BDA251 #51BD6C #516CBD #BD51A2
square
#BDA251 #51BD6C #516CBD #BD51A2
split-complementary
#BDA251 #51A2BD #6C51BD
monochromatic
#6B5A29 #978039 #BDA251 #CEBA7D #DFD1AA

Accessibility & contrast

On white

2.48
#BDA251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BDA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA251
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA251#FFFFFF#000000##000000
##BDA2511.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A049
Deuteranopia (green-blind)
#B8A854
Tritanopia (blue-blind)
#CB9790
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda251;
/* rgb */ color: rgb(189, 162, 81);
/* oklch */ color: oklch(72.0% 0.106 91.2);
Tailwind
colors: {
  custom: {
    50: '#d3bd84',
    500: '#bda251',
    950: '#000000',
  },
}
SCSS
$custom: #bda251;
$custom-light: #d3bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#bda251",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 45,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.10564,
    "h": 91.2
  },
  "luminance": 0.37254
}

Semantic roles & 50–950 ramp

primary
#BDA251
secondary
#9EA9CC
accent
#74D553
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BDA251

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

Preview Lab → · Contrast checker → · Palette generator →

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