#D1BA4E#D1BA4E

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

Color values

HEX#D1BA4E
RGBrgb(209, 186, 78)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 11%, 62.7%, 18%)
CIE-LABlab(75.59, -4.43, 56.20)
CIE-LCHlch(75.59, 56.37, 94.51°)
OKLaboklab(78.81% -0.0164 0.1284)
OKLCHoklch(78.81% 0.129 97.3)
XYZxyz(45.2305, 49.2253, 14.3252)
Luminance0.4922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BA4E #4E65D1
analogous
#D1794E #D1BA4E #A7D14E
triadic
#D1BA4E #4ED1BA #BA4ED1
tetradic
#D1BA4E #4ED179 #4E65D1 #D14EA7
square
#D1BA4E #4ED179 #4E65D1 #D14EA7
split-complementary
#D1BA4E #4EA7D1 #794ED1
monochromatic
#837222 #B39C2F #D1BA4E #DECD7F #EAE0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1BA4E#FFFFFF#000000##000000
##D1BA4E1.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)
#CBB642
Deuteranopia (green-blind)
#D1BE53
Tritanopia (blue-blind)
#E1ADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1ba4e;
/* rgb */ color: rgb(209, 186, 78);
/* oklch */ color: oklch(78.8% 0.129 97.3);
Tailwind
colors: {
  custom: {
    50: '#e2ce84',
    500: '#d1ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1ba4e;
$custom-light: #e2ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ba4e",
  "rgb": {
    "r": 209,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 49.466,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7881,
    "c": 0.12947,
    "h": 97.3
  },
  "luminance": 0.49223
}

Semantic roles & 50–950 ramp

primary
#D1BA4E
secondary
#A2ACD8
accent
#61E246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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