#BDAF39#BDAF39

#BDAF39 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.35:1 contrast (WCAG AA passes).

Color values

HEX#BDAF39
RGBrgb(189, 175, 57)
HSLhsl(54, 54%, 48%)
HSVhsv(54, 70%, 74%)
CMYKcmyk(0%, 7.4%, 69.8%, 25.9%)
CIE-LABlab(70.72, -8.51, 59.33)
CIE-LCHlch(70.72, 59.94, 98.16°)
OKLaboklab(74.46% -0.0292 0.1323)
OKLCHoklch(74.46% 0.135 102.4)
XYZxyz(37.0563, 41.7757, 9.9817)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF39 #3947BD
analogous
#BD6D39 #BDAF39 #89BD39
triadic
#BDAF39 #39BDAF #AF39BD
tetradic
#BDAF39 #39BD6D #3947BD #BD3989
square
#BDAF39 #39BD6D #3947BD #BD3989
split-complementary
#BDAF39 #3989BD #6D39BD
monochromatic
#5F581D #8E832B #BDAF39 #D0C463 #DED692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDAF39#FFFFFF#000000##000000
##BDAF391.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdaf39;
/* rgb */ color: rgb(189, 175, 57);
/* oklch */ color: oklch(74.5% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d4c677',
    500: '#bdaf39',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf39;
$custom-light: #d4c677;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf39",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 53.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.13549,
    "h": 102.4
  },
  "luminance": 0.41774
}

Semantic roles & 50–950 ramp

primary
#BDAF39
secondary
#898FC9
accent
#5ADD4B
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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