#D9BF4F#D9BF4F

#D9BF4F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.133 H 96.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D9BF4F
RGBrgb(217, 191, 79)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 64%, 85%)
CMYKcmyk(0%, 12%, 63.6%, 14.9%)
CIE-LABlab(77.63, -3.58, 58.17)
CIE-LCHlch(77.63, 58.28, 93.52°)
OKLaboklab(80.6% -0.0143 0.1326)
OKLCHoklch(80.6% 0.133 96.2)
XYZxyz(48.6595, 52.5802, 14.9816)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF4F #4F69D9
analogous
#D97A4F #D9BF4F #AED94F
triadic
#D9BF4F #4FD9BF #BF4FD9
tetradic
#D9BF4F #4FD97A #4F69D9 #D94FAE
square
#D9BF4F #4FD97A #4F69D9 #D94FAE
split-complementary
#D9BF4F #4FAED9 #7A4FD9
monochromatic
#8F7A1F #C1A52A #D9BF4F #E4D181 #EFE4B4

Accessibility & contrast

On white

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

On black

11.52
#D9BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF4F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF4F#FFFFFF#000000##000000
##D9BF4F1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#E9B1A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf4f;
/* rgb */ color: rgb(217, 191, 79);
/* oklch */ color: oklch(80.6% 0.133 96.2);
Tailwind
colors: {
  custom: {
    50: '#e8d285',
    500: '#d9bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf4f;
$custom-light: #e8d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf4f",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 48.696,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80595,
    "c": 0.13333,
    "h": 96.2
  },
  "luminance": 0.52578
}

Semantic roles & 50–950 ramp

primary
#D9BF4F
secondary
#384994
accent
#60E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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