#D1B648#D1B648

#D1B648 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.131 H 95.3°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D1B648
RGBrgb(209, 182, 72)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 12.9%, 65.6%, 18%)
CIE-LABlab(74.50, -2.71, 57.63)
CIE-LCHlch(74.50, 57.69, 92.70°)
OKLaboklab(77.93% -0.0122 0.1306)
OKLCHoklch(77.93% 0.131 95.3)
XYZxyz(44.1942, 47.4813, 12.9666)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B648 #4863D1
analogous
#D17148 #D1B648 #A8D148
triadic
#D1B648 #48D1B6 #B648D1
tetradic
#D1B648 #48D171 #4863D1 #D148A8
square
#D1B648 #48D171 #4863D1 #D148A8
split-complementary
#D1B648 #48A8D1 #7148D1
monochromatic
#7F6C20 #B0962C #D1B648 #DDCA79 #EADDAA

Accessibility & contrast

On white

2.00
#D1B648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#D1B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B648
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B648#FFFFFF#000000##000000
##D1B6481.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B23B
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#E1A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b648;
/* rgb */ color: rgb(209, 182, 72);
/* oklch */ color: oklch(77.9% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#e2cb80',
    500: '#d1b648',
    950: '#000000',
  },
}
SCSS
$custom: #d1b648;
$custom-light: #e2cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b648",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 48.175,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77927,
    "c": 0.13115,
    "h": 95.3
  },
  "luminance": 0.47479
}

Semantic roles & 50–950 ramp

primary
#D1B648
secondary
#9EA9D7
accent
#64E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B648

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

Preview Lab → · Contrast checker → · Palette generator →

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