#D1BA4D#D1BA4D

#D1BA4D is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.130 H 97.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D1BA4D
RGBrgb(209, 186, 77)
HSLhsl(50, 59%, 56%)
HSVhsv(50, 63%, 82%)
CMYKcmyk(0%, 11%, 63.2%, 18%)
CIE-LABlab(75.58, -4.49, 56.63)
CIE-LCHlch(75.58, 56.80, 94.54°)
OKLaboklab(78.8% -0.0167 0.1292)
OKLCHoklch(78.8% 0.13 97.4)
XYZxyz(45.1949, 49.2111, 14.1378)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BA4D #4D64D1
analogous
#D1784D #D1BA4D #A6D14D
triadic
#D1BA4D #4DD1BA #BA4DD1
tetradic
#D1BA4D #4DD178 #4D64D1 #D14DA6
square
#D1BA4D #4DD178 #4D64D1 #D14DA6
split-complementary
#D1BA4D #4DA6D1 #784DD1
monochromatic
#827122 #B39C2E #D1BA4D #DECD7E #EAE0AE

Accessibility & contrast

On white

1.94
#D1BA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#D1BA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BA4D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BA4D#FFFFFF#000000##000000
##D1BA4D1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB640
Deuteranopia (green-blind)
#D1BE53
Tritanopia (blue-blind)
#E1ADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1ba4d;
/* rgb */ color: rgb(209, 186, 77);
/* oklch */ color: oklch(78.8% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#e2ce83',
    500: '#d1ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #d1ba4d;
$custom-light: #e2ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ba4d",
  "rgb": {
    "r": 209,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 49.545,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.788,
    "c": 0.13027,
    "h": 97.4
  },
  "luminance": 0.49209
}

Semantic roles & 50–950 ramp

primary
#D1BA4D
secondary
#A2ABD8
accent
#61E246
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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