#BDAF5F#BDAF5F

#BDAF5F is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.103 H 99.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#BDAF5F
RGBrgb(189, 175, 95)
HSLhsl(51, 42%, 56%)
HSVhsv(51, 50%, 74%)
CMYKcmyk(0%, 7.4%, 49.7%, 25.9%)
CIE-LABlab(71.08, -5.78, 42.51)
CIE-LCHlch(71.08, 42.90, 97.74°)
OKLaboklab(74.87% -0.0171 0.1012)
OKLCHoklch(74.87% 0.103 99.6)
XYZxyz(38.3829, 42.3064, 16.9684)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF5F #5F6DBD
analogous
#BD805F #BDAF5F #9CBD5F
triadic
#BDAF5F #5FBDAF #AF5FBD
tetradic
#BDAF5F #5FBD80 #5F6DBD #BD5F9C
square
#BDAF5F #5FBD80 #5F6DBD #BD5F9C
split-complementary
#BDAF5F #5F9CBD #805FBD
monochromatic
#72682F #9E9041 #BDAF5F #CFC58A #E1DAB6

Accessibility & contrast

On white

2.22
#BDAF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#BDAF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF5F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF5F#FFFFFF#000000##000000
##BDAF5F1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB58
Deuteranopia (green-blind)
#C0B062
Tritanopia (blue-blind)
#C9A59C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdaf5f;
/* rgb */ color: rgb(189, 175, 95);
/* oklch */ color: oklch(74.9% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#d3c68e',
    500: '#bdaf5f',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf5f;
$custom-light: #d3c68e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf5f",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 51.064,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.74872,
    "c": 0.10264,
    "h": 99.6
  },
  "luminance": 0.42305
}

Semantic roles & 50–950 ramp

primary
#BDAF5F
secondary
#A8AECF
accent
#69D156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BDAF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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