#BDAF40#BDAF40

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

Color values

HEX#BDAF40
RGBrgb(189, 175, 64)
HSLhsl(53, 49%, 50%)
HSVhsv(53, 66%, 74%)
CMYKcmyk(0%, 7.4%, 66.1%, 25.9%)
CIE-LABlab(70.77, -8.12, 56.55)
CIE-LCHlch(70.77, 57.13, 98.17°)
OKLaboklab(74.52% -0.0273 0.1276)
OKLCHoklch(74.52% 0.131 102.1)
XYZxyz(37.2432, 41.8505, 10.9657)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF40 #404EBD
analogous
#BD7140 #BDAF40 #8DBD40
triadic
#BDAF40 #40BDAF #AF40BD
tetradic
#BDAF40 #40BD71 #404EBD #BD408D
square
#BDAF40 #40BD71 #404EBD #BD408D
split-complementary
#BDAF40 #408DBD #7140BD
monochromatic
#625A21 #8F8531 #BDAF40 #CDC36D #DDD69A

Accessibility & contrast

On white

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

On black

9.37
#BDAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF40
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF40#FFFFFF#000000##000000
##BDAF401.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#CBA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf40;
/* rgb */ color: rgb(189, 175, 64);
/* oklch */ color: oklch(74.5% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#d4c67a',
    500: '#bdaf40',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf40;
$custom-light: #d4c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf40",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 53.28,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74522,
    "c": 0.1305,
    "h": 102.1
  },
  "luminance": 0.41849
}

Semantic roles & 50–950 ramp

primary
#BDAF40
secondary
#9096C9
accent
#5ED94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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