#BDAF3B#BDAF3B

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

Color values

HEX#BDAF3B
RGBrgb(189, 175, 59)
HSLhsl(54, 52%, 49%)
HSVhsv(54, 69%, 74%)
CMYKcmyk(0%, 7.4%, 68.8%, 25.9%)
CIE-LABlab(70.73, -8.40, 58.55)
CIE-LCHlch(70.73, 59.15, 98.17°)
OKLaboklab(74.48% -0.0287 0.131)
OKLCHoklch(74.48% 0.134 102.3)
XYZxyz(37.1072, 41.7961, 10.2497)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF3B #3B49BD
analogous
#BD6E3B #BDAF3B #8ABD3B
triadic
#BDAF3B #3BBDAF #AF3BBD
tetradic
#BDAF3B #3BBD6E #3B49BD #BD3B8A
square
#BDAF3B #3BBD6E #3B49BD #BD3B8A
split-complementary
#BDAF3B #3B8ABD #6E3BBD
monochromatic
#60591E #8E842C #BDAF3B #CFC466 #DED695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDAF3B#FFFFFF#000000##000000
##BDAF3B1.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)
#BFAA2A
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#CBA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf3b;
/* rgb */ color: rgb(189, 175, 59);
/* oklch */ color: oklch(74.5% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#d4c678',
    500: '#bdaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf3b;
$custom-light: #d4c678;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf3b",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 53.538,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.13412,
    "h": 102.3
  },
  "luminance": 0.41795
}

Semantic roles & 50–950 ramp

primary
#BDAF3B
secondary
#8B91C9
accent
#5BDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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