#D1BA4B#D1BA4B

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

Color values

HEX#D1BA4B
RGBrgb(209, 186, 75)
HSLhsl(50, 59%, 56%)
HSVhsv(50, 64%, 82%)
CMYKcmyk(0%, 11%, 64.1%, 18%)
CIE-LABlab(75.57, -4.62, 57.48)
CIE-LCHlch(75.57, 57.66, 94.59°)
OKLaboklab(78.78% -0.0173 0.1307)
OKLCHoklch(78.78% 0.132 97.5)
XYZxyz(45.1254, 49.1832, 13.7716)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BA4B #4B62D1
analogous
#D1774B #D1BA4B #A5D14B
triadic
#D1BA4B #4BD1BA #BA4BD1
tetradic
#D1BA4B #4BD177 #4B62D1 #D14BA5
square
#D1BA4B #4BD177 #4B62D1 #D14BA5
split-complementary
#D1BA4B #4BA5D1 #774BD1
monochromatic
#817021 #B19B2D #D1BA4B #DDCD7C #EADFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1BA4B#FFFFFF#000000##000000
##D1BA4B1.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)
#CBB63E
Deuteranopia (green-blind)
#D1BE51
Tritanopia (blue-blind)
#E1ADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1ba4b;
/* rgb */ color: rgb(209, 186, 75);
/* oklch */ color: oklch(78.8% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#e2ce82',
    500: '#d1ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #d1ba4b;
$custom-light: #e2ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ba4b",
  "rgb": {
    "r": 209,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 49.701,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78781,
    "c": 0.13185,
    "h": 97.5
  },
  "luminance": 0.49181
}

Semantic roles & 50–950 ramp

primary
#D1BA4B
secondary
#A0AAD8
accent
#60E245
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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