#D1B149#D1B149

#D1B149 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.127 H 92.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D1B149
RGBrgb(209, 177, 73)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 65%, 82%)
CMYKcmyk(0%, 15.3%, 65.1%, 18%)
CIE-LABlab(73.21, -0.03, 55.82)
CIE-LCHlch(73.21, 55.82, 90.03°)
OKLaboklab(76.91% -0.0043 0.1269)
OKLCHoklch(76.91% 0.127 92)
XYZxyz(43.2214, 45.4830, 12.8046)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B149 #4969D1
analogous
#D16D49 #D1B149 #ADD149
triadic
#D1B149 #49D1B1 #B149D1
tetradic
#D1B149 #49D16D #4969D1 #D149AD
square
#D1B149 #49D16D #4969D1 #D149AD
split-complementary
#D1B149 #49ADD1 #6D49D1
monochromatic
#7F6920 #B0912D #D1B149 #DDC67A #EADBAB

Accessibility & contrast

On white

2.08
#D1B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D1B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B149
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B149#FFFFFF#000000##000000
##D1B1491.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3D
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#E1A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b149;
/* rgb */ color: rgb(209, 177, 73);
/* oklch */ color: oklch(76.9% 0.127 92.0);
Tailwind
colors: {
  custom: {
    50: '#e3c880',
    500: '#d1b149',
    950: '#000000',
  },
}
SCSS
$custom: #d1b149;
$custom-light: #e3c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b149",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 45.882,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76912,
    "c": 0.12696,
    "h": 92
  },
  "luminance": 0.45481
}

Semantic roles & 50–950 ramp

primary
#D1B149
secondary
#9EACD7
accent
#6AE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B149

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

Preview Lab → · Contrast checker → · Palette generator →

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