#D9BF57#D9BF57

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

Color values

HEX#D9BF57
RGBrgb(217, 191, 87)
HSLhsl(48, 63%, 60%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 12%, 59.9%, 14.9%)
CIE-LABlab(77.70, -3.05, 54.69)
CIE-LCHlch(77.70, 54.77, 93.19°)
OKLaboklab(80.68% -0.0118 0.1262)
OKLCHoklch(80.68% 0.127 95.4)
XYZxyz(48.9684, 52.7038, 16.6085)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF57 #5771D9
analogous
#D97E57 #D9BF57 #B2D957
triadic
#D9BF57 #57D9BF #BF57D9
tetradic
#D9BF57 #57D97E #5771D9 #D957B2
square
#D9BF57 #57D97E #5771D9 #D957B2
split-complementary
#D9BF57 #57B2D9 #7E57D9
monochromatic
#947D21 #C6A72D #D9BF57 #E4D289 #F0E5BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BF57#FFFFFF#000000##000000
##D9BF571.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)
#D1BB4C
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#E9B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf57;
/* rgb */ color: rgb(217, 191, 87);
/* oklch */ color: oklch(80.7% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#e8d28a',
    500: '#d9bf57',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf57;
$custom-light: #e8d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf57",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 48,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80676,
    "c": 0.12678,
    "h": 95.4
  },
  "luminance": 0.52701
}

Semantic roles & 50–950 ramp

primary
#D9BF57
secondary
#3B4E99
accent
#63E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9BF57

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

Preview Lab → · Contrast checker → · Palette generator →

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