#D1BF4A#D1BF4A

#D1BF4A is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.137 H 100.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D1BF4A
RGBrgb(209, 191, 74)
HSLhsl(52, 59%, 55%)
HSVhsv(52, 65%, 82%)
CMYKcmyk(0%, 8.6%, 64.6%, 18%)
CIE-LABlab(76.87, -7.27, 59.29)
CIE-LCHlch(76.87, 59.74, 96.99°)
OKLaboklab(79.81% -0.025 0.1344)
OKLCHoklch(79.81% 0.137 100.5)
XYZxyz(46.1633, 51.3133, 13.9501)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF4A #4A5CD1
analogous
#D17B4A #D1BF4A #9FD14A
triadic
#D1BF4A #4AD1BF #BF4AD1
tetradic
#D1BF4A #4AD17B #4A5CD1 #D14A9F
square
#D1BF4A #4AD17B #4A5CD1 #D14A9F
split-complementary
#D1BF4A #4A9FD1 #7B4AD1
monochromatic
#807321 #B19F2D #D1BF4A #DDD07B #EAE2AC

Accessibility & contrast

On white

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

On black

11.26
#D1BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF4A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF4A#FFFFFF#000000##000000
##D1BF4A1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1bf4a;
/* rgb */ color: rgb(209, 191, 74);
/* oklch */ color: oklch(79.8% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#e2d282',
    500: '#d1bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf4a;
$custom-light: #e2d282;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf4a",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 52,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79811,
    "c": 0.1367,
    "h": 100.5
  },
  "luminance": 0.51311
}

Semantic roles & 50–950 ramp

primary
#D1BF4A
secondary
#384287
accent
#5AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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