#BDAF4C#BDAF4C

#BDAF4C is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.121 H 101.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BDAF4C
RGBrgb(189, 175, 76)
HSLhsl(53, 46%, 52%)
HSVhsv(53, 60%, 74%)
CMYKcmyk(0%, 7.4%, 59.8%, 25.9%)
CIE-LABlab(70.87, -7.33, 51.39)
CIE-LCHlch(70.87, 51.92, 98.12°)
OKLaboklab(74.64% -0.0237 0.1184)
OKLCHoklch(74.64% 0.121 101.3)
XYZxyz(37.6221, 42.0020, 12.9615)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF4C #4C5ABD
analogous
#BD774C #BDAF4C #93BD4C
triadic
#BDAF4C #4CBDAF #AF4CBD
tetradic
#BDAF4C #4CBD77 #4C5ABD #BD4C93
square
#BDAF4C #4CBD77 #4C5ABD #BD4C93
split-complementary
#BDAF4C #4C93BD #774CBD
monochromatic
#686026 #958937 #BDAF4C #CDC379 #DED7A5

Accessibility & contrast

On white

2.23
#BDAF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BDAF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF4C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF4C#FFFFFF#000000##000000
##BDAF4C1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA41
Deuteranopia (green-blind)
#C2B051
Tritanopia (blue-blind)
#CAA499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf4c;
/* rgb */ color: rgb(189, 175, 76);
/* oklch */ color: oklch(74.6% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#d4c682',
    500: '#bdaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf4c;
$custom-light: #d4c682;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf4c",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 52.566,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74639,
    "c": 0.12078,
    "h": 101.3
  },
  "luminance": 0.42001
}

Semantic roles & 50–950 ramp

primary
#BDAF4C
secondary
#9AA0CB
accent
#62D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BDAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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