#BDAF34#BDAF34

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

Color values

HEX#BDAF34
RGBrgb(189, 175, 52)
HSLhsl(54, 57%, 47%)
HSVhsv(54, 72%, 74%)
CMYKcmyk(0%, 7.4%, 72.5%, 25.9%)
CIE-LABlab(70.68, -8.76, 61.20)
CIE-LCHlch(70.68, 61.82, 98.14°)
OKLaboklab(74.43% -0.0304 0.1354)
OKLCHoklch(74.43% 0.139 102.7)
XYZxyz(36.9377, 41.7283, 9.3568)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF34 #3442BD
analogous
#BD6B34 #BDAF34 #86BD34
triadic
#BDAF34 #34BDAF #AF34BD
tetradic
#BDAF34 #34BD6B #3442BD #BD3486
square
#BDAF34 #34BD6B #3442BD #BD3486
split-complementary
#BDAF34 #3486BD #6B34BD
monochromatic
#5D561A #8D8327 #BDAF34 #D2C65C #DFD78C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDAF34#FFFFFF#000000##000000
##BDAF341.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)
#BFA91F
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#CBA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf34;
/* rgb */ color: rgb(189, 175, 52);
/* oklch */ color: oklch(74.4% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d5c674',
    500: '#bdaf34',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf34;
$custom-light: #d5c674;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf34",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 53.869,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74428,
    "c": 0.13873,
    "h": 102.7
  },
  "luminance": 0.41727
}

Semantic roles & 50–950 ramp

primary
#BDAF34
secondary
#838ACA
accent
#57E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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