#D1BF4D#D1BF4D

#D1BF4D is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.134 H 100.3°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D1BF4D
RGBrgb(209, 191, 77)
HSLhsl(52, 59%, 56%)
HSVhsv(52, 63%, 82%)
CMYKcmyk(0%, 8.6%, 63.2%, 18%)
CIE-LABlab(76.89, -7.08, 58.04)
CIE-LCHlch(76.89, 58.47, 96.96°)
OKLaboklab(79.84% -0.0241 0.1322)
OKLCHoklch(79.84% 0.134 100.3)
XYZxyz(46.2667, 51.3547, 14.4951)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF4D #4D5FD1
analogous
#D17D4D #D1BF4D #A1D14D
triadic
#D1BF4D #4DD1BF #BF4DD1
tetradic
#D1BF4D #4DD17D #4D5FD1 #D14DA1
square
#D1BF4D #4DD17D #4D5FD1 #D14DA1
split-complementary
#D1BF4D #4DA1D1 #7D4DD1
monochromatic
#827522 #B3A12E #D1BF4D #DED07E #EAE2AE

Accessibility & contrast

On white

1.86
#D1BF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#D1BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF4D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF4D#FFFFFF#000000##000000
##D1BF4D1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA40
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#E0B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf4d;
/* rgb */ color: rgb(209, 191, 77);
/* oklch */ color: oklch(79.8% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#e2d284',
    500: '#d1bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf4d;
$custom-light: #e2d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf4d",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 51.818,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79839,
    "c": 0.13438,
    "h": 100.3
  },
  "luminance": 0.51353
}

Semantic roles & 50–950 ramp

primary
#D1BF4D
secondary
#394489
accent
#5BE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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