#D1B448#D1B448

#D1B448 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.130 H 94.1°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D1B448
RGBrgb(209, 180, 72)
HSLhsl(47, 60%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 13.9%, 65.6%, 18%)
CIE-LABlab(73.98, -1.67, 57.08)
CIE-LCHlch(73.98, 57.10, 91.67°)
OKLaboklab(77.52% -0.0092 0.1294)
OKLCHoklch(77.52% 0.13 94.1)
XYZxyz(43.7876, 46.6680, 12.8311)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B448 #4865D1
analogous
#D16F48 #D1B448 #AAD148
triadic
#D1B448 #48D1B4 #B448D1
tetradic
#D1B448 #48D16F #4865D1 #D148AA
square
#D1B448 #48D16F #4865D1 #D148AA
split-complementary
#D1B448 #48AAD1 #6F48D1
monochromatic
#7F6B20 #B0942C #D1B448 #DDC879 #EADCAA

Accessibility & contrast

On white

2.03
#D1B448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#D1B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B448
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B448#FFFFFF#000000##000000
##D1B4481.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CDBA4D
Tritanopia (blue-blind)
#E1A79D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b448;
/* rgb */ color: rgb(209, 180, 72);
/* oklch */ color: oklch(77.5% 0.130 94.1);
Tailwind
colors: {
  custom: {
    50: '#e3ca80',
    500: '#d1b448',
    950: '#000000',
  },
}
SCSS
$custom: #d1b448;
$custom-light: #e3ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b448",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 47.299,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77516,
    "c": 0.12973,
    "h": 94.1
  },
  "luminance": 0.46666
}

Semantic roles & 50–950 ramp

primary
#D1B448
secondary
#9EAAD7
accent
#66E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B448

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

Preview Lab → · Contrast checker → · Palette generator →

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