#D9BF56#D9BF56

#D9BF56 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.7% C 0.128 H 95.5°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D9BF56
RGBrgb(217, 191, 86)
HSLhsl(48, 63%, 59%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 12%, 60.4%, 14.9%)
CIE-LABlab(77.69, -3.12, 55.13)
CIE-LCHlch(77.69, 55.22, 93.23°)
OKLaboklab(80.67% -0.0122 0.1271)
OKLCHoklch(80.67% 0.128 95.5)
XYZxyz(48.9279, 52.6875, 16.3948)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF56 #5670D9
analogous
#D97E56 #D9BF56 #B1D956
triadic
#D9BF56 #56D9BF #BF56D9
tetradic
#D9BF56 #56D97E #5670D9 #D956B1
square
#D9BF56 #56D97E #5670D9 #D956B1
split-complementary
#D9BF56 #56B1D9 #7E56D9
monochromatic
#937D21 #C5A72C #D9BF56 #E4D288 #EFE5BA

Accessibility & contrast

On white

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

On black

11.54
#D9BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF56
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF56#FFFFFF#000000##000000
##D9BF561.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9bf56;
/* rgb */ color: rgb(217, 191, 86);
/* oklch */ color: oklch(80.7% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#e8d289',
    500: '#d9bf56',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf56;
$custom-light: #e8d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf56",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 48.092,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.12763,
    "h": 95.5
  },
  "luminance": 0.52685
}

Semantic roles & 50–950 ramp

primary
#D9BF56
secondary
#3B4D98
accent
#62E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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