#D1BD4E#D1BD4E

#D1BD4E is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.132 H 99.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#D1BD4E
RGBrgb(209, 189, 78)
HSLhsl(51, 59%, 56%)
HSVhsv(51, 63%, 82%)
CMYKcmyk(0%, 9.6%, 62.7%, 18%)
CIE-LABlab(76.38, -5.98, 57.05)
CIE-LCHlch(76.38, 57.36, 95.99°)
OKLaboklab(79.43% -0.0208 0.1302)
OKLCHoklch(79.43% 0.132 99.1)
XYZxyz(45.8691, 50.5026, 14.5381)
Luminance0.5050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BD4E #4E62D1
analogous
#D17C4E #D1BD4E #A4D14E
triadic
#D1BD4E #4ED1BD #BD4ED1
tetradic
#D1BD4E #4ED17C #4E62D1 #D14EA4
square
#D1BD4E #4ED17C #4E62D1 #D14EA4
split-complementary
#D1BD4E #4EA4D1 #7C4ED1
monochromatic
#837422 #B39F2F #D1BD4E #DECF7F #EAE1AF

Accessibility & contrast

On white

1.89
#D1BD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#D1BD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BD4E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BD4E#FFFFFF#000000##000000
##D1BD4E1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB841
Deuteranopia (green-blind)
#D3C054
Tritanopia (blue-blind)
#E0B0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d1bd4e;
/* rgb */ color: rgb(209, 189, 78);
/* oklch */ color: oklch(79.4% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#e2d084',
    500: '#d1bd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1bd4e;
$custom-light: #e2d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bd4e",
  "rgb": {
    "r": 209,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 50.84,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79432,
    "c": 0.1319,
    "h": 99.1
  },
  "luminance": 0.50501
}

Semantic roles & 50–950 ramp

primary
#D1BD4E
secondary
#39468A
accent
#5EE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D1BD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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