#D9BF45#D9BF45

#D9BF45 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.141 H 97.0°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D9BF45
RGBrgb(217, 191, 69)
HSLhsl(49, 66%, 56%)
HSVhsv(49, 68%, 85%)
CMYKcmyk(0%, 12%, 68.2%, 14.9%)
CIE-LABlab(77.55, -4.16, 62.29)
CIE-LCHlch(77.55, 62.42, 93.82°)
OKLaboklab(80.51% -0.0171 0.1397)
OKLCHoklch(80.51% 0.141 97)
XYZxyz(48.3225, 52.4454, 13.2068)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF45 #455FD9
analogous
#D97545 #D9BF45 #A9D945
triadic
#D9BF45 #45D9BF #BF45D9
tetradic
#D9BF45 #45D975 #455FD9 #D945A9
square
#D9BF45 #45D975 #455FD9 #D945A9
split-complementary
#D9BF45 #45A9D9 #7545D9
monochromatic
#88751C #BBA126 #D9BF45 #E3D078 #EEE2AB

Accessibility & contrast

On white

1.83
#D9BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D9BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF45
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF45#FFFFFF#000000##000000
##D9BF451.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#EAB1A6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf45;
/* rgb */ color: rgb(217, 191, 69);
/* oklch */ color: oklch(80.5% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#e8d17f',
    500: '#d9bf45',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf45;
$custom-light: #e8d17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf45",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 49.459,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80506,
    "c": 0.14074,
    "h": 97
  },
  "luminance": 0.52443
}

Semantic roles & 50–950 ramp

primary
#D9BF45
secondary
#34448E
accent
#5DE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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