#BDAF47#BDAF47

#BDAF47 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.125 H 101.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#BDAF47
RGBrgb(189, 175, 71)
HSLhsl(53, 47%, 51%)
HSVhsv(53, 62%, 74%)
CMYKcmyk(0%, 7.4%, 62.4%, 25.9%)
CIE-LABlab(70.83, -7.68, 53.59)
CIE-LCHlch(70.83, 54.14, 98.15°)
OKLaboklab(74.59% -0.0253 0.1224)
OKLCHoklch(74.59% 0.125 101.7)
XYZxyz(37.4550, 41.9352, 12.0814)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF47 #4755BD
analogous
#BD7447 #BDAF47 #90BD47
triadic
#BDAF47 #47BDAF #AF47BD
tetradic
#BDAF47 #47BD74 #4755BD #BD4790
square
#BDAF47 #47BD74 #4755BD #BD4790
split-complementary
#BDAF47 #4790BD #7447BD
monochromatic
#655E24 #928734 #BDAF47 #CDC374 #DDD6A1

Accessibility & contrast

On white

2.24
#BDAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#BDAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF47
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF47#FFFFFF#000000##000000
##BDAF471.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C2B04D
Tritanopia (blue-blind)
#CBA399
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf47;
/* rgb */ color: rgb(189, 175, 71);
/* oklch */ color: oklch(74.6% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#d4c67f',
    500: '#bdaf47',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf47;
$custom-light: #d4c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf47",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 52.881,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74587,
    "c": 0.12501,
    "h": 101.7
  },
  "luminance": 0.41934
}

Semantic roles & 50–950 ramp

primary
#BDAF47
secondary
#969CCA
accent
#61D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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