#D9BF54#D9BF54

#D9BF54 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.129 H 95.7°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D9BF54
RGBrgb(217, 191, 84)
HSLhsl(48, 64%, 59%)
HSVhsv(48, 61%, 85%)
CMYKcmyk(0%, 12%, 61.3%, 14.9%)
CIE-LABlab(77.67, -3.25, 56.01)
CIE-LCHlch(77.67, 56.11, 93.32°)
OKLaboklab(80.65% -0.0128 0.1287)
OKLCHoklch(80.65% 0.129 95.7)
XYZxyz(48.8484, 52.6558, 15.9764)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF54 #546ED9
analogous
#D97D54 #D9BF54 #B0D954
triadic
#D9BF54 #54D9BF #BF54D9
tetradic
#D9BF54 #54D97D #546ED9 #D954B0
square
#D9BF54 #54D97D #546ED9 #D954B0
split-complementary
#D9BF54 #54B0D9 #7D54D9
monochromatic
#927C20 #C4A62C #D9BF54 #E4D286 #EFE4B8

Accessibility & contrast

On white

1.82
#D9BF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D9BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF54
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF54#FFFFFF#000000##000000
##D9BF541.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB48
Deuteranopia (green-blind)
#D7C459
Tritanopia (blue-blind)
#E9B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf54;
/* rgb */ color: rgb(217, 191, 84);
/* oklch */ color: oklch(80.6% 0.129 95.7);
Tailwind
colors: {
  custom: {
    50: '#e8d288',
    500: '#d9bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf54;
$custom-light: #e8d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf54",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 48.271,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80645,
    "c": 0.12929,
    "h": 95.7
  },
  "luminance": 0.52653
}

Semantic roles & 50–950 ramp

primary
#D9BF54
secondary
#3A4C97
accent
#61E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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