#BDAF2E#BDAF2E

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

Color values

HEX#BDAF2E
RGBrgb(189, 175, 46)
HSLhsl(54, 61%, 46%)
HSVhsv(54, 76%, 74%)
CMYKcmyk(0%, 7.4%, 75.7%, 25.9%)
CIE-LABlab(70.65, -9.02, 63.28)
CIE-LCHlch(70.65, 63.92, 98.11°)
OKLaboklab(74.39% -0.0318 0.1387)
OKLCHoklch(74.39% 0.142 102.9)
XYZxyz(36.8111, 41.6776, 8.6898)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF2E #2E3CBD
analogous
#BD672E #BDAF2E #83BD2E
triadic
#BDAF2E #2EBDAF #AF2EBD
tetradic
#BDAF2E #2EBD67 #2E3CBD #BD2E83
square
#BDAF2E #2EBD67 #2E3CBD #BD2E83
split-complementary
#BDAF2E #2E83BD #672EBD
monochromatic
#5B5416 #8C8122 #BDAF2E #D5C853 #E1D884

Accessibility & contrast

On white

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

On black

9.34
#BDAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF2E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF2E#FFFFFF#000000##000000
##BDAF2E1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#CCA296
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf2e;
/* rgb */ color: rgb(189, 175, 46);
/* oklch */ color: oklch(74.4% 0.142 102.9);
Tailwind
colors: {
  custom: {
    50: '#d5c671',
    500: '#bdaf2e',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf2e;
$custom-light: #d5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf2e",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 54.126,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.14225,
    "h": 102.9
  },
  "luminance": 0.41676
}

Semantic roles & 50–950 ramp

primary
#BDAF2E
secondary
#7C84CA
accent
#54E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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