#BDAF37#BDAF37

#BDAF37 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.137 H 102.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BDAF37
RGBrgb(189, 175, 55)
HSLhsl(54, 55%, 48%)
HSVhsv(54, 71%, 74%)
CMYKcmyk(0%, 7.4%, 70.9%, 25.9%)
CIE-LABlab(70.70, -8.61, 60.09)
CIE-LCHlch(70.70, 60.70, 98.16°)
OKLaboklab(74.45% -0.0297 0.1336)
OKLCHoklch(74.45% 0.137 102.5)
XYZxyz(37.0074, 41.7562, 9.7241)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF37 #3745BD
analogous
#BD6C37 #BDAF37 #88BD37
triadic
#BDAF37 #37BDAF #AF37BD
tetradic
#BDAF37 #37BD6C #3745BD #BD3788
square
#BDAF37 #37BD6C #3745BD #BD3788
split-complementary
#BDAF37 #3788BD #6C37BD
monochromatic
#5E571B #8E8329 #BDAF37 #D1C560 #DFD690

Accessibility & contrast

On white

2.25
#BDAF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#BDAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF37
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF37#FFFFFF#000000##000000
##BDAF371.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdaf37;
/* rgb */ color: rgb(189, 175, 55);
/* oklch */ color: oklch(74.4% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#d4c675',
    500: '#bdaf37',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf37;
$custom-light: #d4c675;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf37",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 53.731,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74449,
    "c": 0.13682,
    "h": 102.5
  },
  "luminance": 0.41755
}

Semantic roles & 50–950 ramp

primary
#BDAF37
secondary
#868DC9
accent
#59DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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