#BDAF45#BDAF45

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

Color values

HEX#BDAF45
RGBrgb(189, 175, 69)
HSLhsl(53, 48%, 51%)
HSVhsv(53, 63%, 74%)
CMYKcmyk(0%, 7.4%, 63.5%, 25.9%)
CIE-LABlab(70.81, -7.81, 54.45)
CIE-LCHlch(70.81, 55.01, 98.16°)
OKLaboklab(74.57% -0.0259 0.124)
OKLCHoklch(74.57% 0.127 101.8)
XYZxyz(37.3919, 41.9099, 11.7489)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF45 #4553BD
analogous
#BD7345 #BDAF45 #8FBD45
triadic
#BDAF45 #45BDAF #AF45BD
tetradic
#BDAF45 #45BD73 #4553BD #BD458F
square
#BDAF45 #45BD73 #4553BD #BD458F
split-complementary
#BDAF45 #458FBD #7345BD
monochromatic
#645D24 #918634 #BDAF45 #CDC272 #DDD69F

Accessibility & contrast

On white

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

On black

9.38
#BDAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF45
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF45#FFFFFF#000000##000000
##BDAF451.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdaf45;
/* rgb */ color: rgb(189, 175, 69);
/* oklch */ color: oklch(74.6% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#d4c67d',
    500: '#bdaf45',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf45;
$custom-light: #d4c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf45",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 53,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74568,
    "c": 0.12663,
    "h": 101.8
  },
  "luminance": 0.41908
}

Semantic roles & 50–950 ramp

primary
#BDAF45
secondary
#949ACA
accent
#60D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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