#BDAF57#BDAF57

#BDAF57 is a light, moderate yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.111 H 100.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BDAF57
RGBrgb(189, 175, 87)
HSLhsl(52, 44%, 54%)
HSVhsv(52, 54%, 74%)
CMYKcmyk(0%, 7.4%, 54%, 25.9%)
CIE-LABlab(70.99, -6.48, 46.34)
CIE-LCHlch(70.99, 46.79, 97.96°)
OKLaboklab(74.77% -0.02 0.1088)
OKLCHoklch(74.77% 0.111 100.4)
XYZxyz(38.0378, 42.1683, 15.1506)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF57 #5765BD
analogous
#BD7C57 #BDAF57 #98BD57
triadic
#BDAF57 #57BDAF #AF57BD
tetradic
#BDAF57 #57BD7C #5765BD #BD5798
square
#BDAF57 #57BD7C #5765BD #BD5798
split-complementary
#BDAF57 #5798BD #7C57BD
monochromatic
#6E652B #9A8D3D #BDAF57 #CEC483 #E0D9AF

Accessibility & contrast

On white

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

On black

9.43
#BDAF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF57
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF57#FFFFFF#000000##000000
##BDAF571.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB4F
Deuteranopia (green-blind)
#C1B05B
Tritanopia (blue-blind)
#CAA49B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdaf57;
/* rgb */ color: rgb(189, 175, 87);
/* oklch */ color: oklch(74.8% 0.111 100.4);
Tailwind
colors: {
  custom: {
    50: '#d3c689',
    500: '#bdaf57',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf57;
$custom-light: #d3c689;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf57",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 51.765,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74766,
    "c": 0.11065,
    "h": 100.4
  },
  "luminance": 0.42167
}

Semantic roles & 50–950 ramp

primary
#BDAF57
secondary
#A2A8CE
accent
#66D354
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BDAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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