#BDAF42#BDAF42

#BDAF42 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.129 H 102.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BDAF42
RGBrgb(189, 175, 66)
HSLhsl(53, 48%, 50%)
HSVhsv(53, 65%, 74%)
CMYKcmyk(0%, 7.4%, 65.1%, 25.9%)
CIE-LABlab(70.78, -8.00, 55.72)
CIE-LCHlch(70.78, 56.29, 98.17°)
OKLaboklab(74.54% -0.0267 0.1262)
OKLCHoklch(74.54% 0.129 102)
XYZxyz(37.3011, 41.8736, 11.2708)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF42 #4250BD
analogous
#BD7242 #BDAF42 #8DBD42
triadic
#BDAF42 #42BDAF #AF42BD
tetradic
#BDAF42 #42BD72 #4250BD #BD428D
square
#BDAF42 #42BD72 #4250BD #BD428D
split-complementary
#BDAF42 #428DBD #7242BD
monochromatic
#625B22 #908532 #BDAF42 #CDC26F #DDD59D

Accessibility & contrast

On white

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

On black

9.37
#BDAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF42
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF42#FFFFFF#000000##000000
##BDAF421.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA34
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#CBA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf42;
/* rgb */ color: rgb(189, 175, 66);
/* oklch */ color: oklch(74.5% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#d4c67c',
    500: '#bdaf42',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf42;
$custom-light: #d4c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf42",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 53.171,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.7454,
    "c": 0.12898,
    "h": 102
  },
  "luminance": 0.41872
}

Semantic roles & 50–950 ramp

primary
#BDAF42
secondary
#9298C9
accent
#5FD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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