#BDAF3A#BDAF3A

#BDAF3A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.135 H 102.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#BDAF3A
RGBrgb(189, 175, 58)
HSLhsl(54, 53%, 48%)
HSVhsv(54, 69%, 74%)
CMYKcmyk(0%, 7.4%, 69.3%, 25.9%)
CIE-LABlab(70.72, -8.46, 58.94)
CIE-LCHlch(70.72, 59.55, 98.16°)
OKLaboklab(74.47% -0.0289 0.1317)
OKLCHoklch(74.47% 0.135 102.4)
XYZxyz(37.0815, 41.7858, 10.1144)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF3A #3A48BD
analogous
#BD6D3A #BDAF3A #89BD3A
triadic
#BDAF3A #3ABDAF #AF3ABD
tetradic
#BDAF3A #3ABD6D #3A48BD #BD3A89
square
#BDAF3A #3ABD6D #3A48BD #BD3A89
split-complementary
#BDAF3A #3A89BD #6D3ABD
monochromatic
#5F581D #8E842C #BDAF3A #D0C465 #DED693

Accessibility & contrast

On white

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

On black

9.36
#BDAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF3A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF3A#FFFFFF#000000##000000
##BDAF3A1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#CBA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf3a;
/* rgb */ color: rgb(189, 175, 58);
/* oklch */ color: oklch(74.5% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d4c677',
    500: '#bdaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf3a;
$custom-light: #d4c677;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf3a",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 53.588,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.13481,
    "h": 102.4
  },
  "luminance": 0.41784
}

Semantic roles & 50–950 ramp

primary
#BDAF3A
secondary
#8A90C9
accent
#5BDC4B
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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