#D1B447#D1B447

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

Color values

HEX#D1B447
RGBrgb(209, 180, 71)
HSLhsl(47, 60%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 13.9%, 66%, 18%)
CIE-LABlab(73.97, -1.72, 57.50)
CIE-LCHlch(73.97, 57.53, 91.72°)
OKLaboklab(77.51% -0.0095 0.1301)
OKLCHoklch(77.51% 0.13 94.2)
XYZxyz(43.7552, 46.6551, 12.6606)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B447 #4764D1
analogous
#D16F47 #D1B447 #A9D147
triadic
#D1B447 #47D1B4 #B447D1
tetradic
#D1B447 #47D16F #4764D1 #D147A9
square
#D1B447 #47D16F #4764D1 #D147A9
split-complementary
#D1B447 #47A9D1 #6F47D1
monochromatic
#7E6A20 #AF932C #D1B447 #DDC878 #E9DCA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B447#FFFFFF#000000##000000
##D1B4471.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)
#C6B13A
Deuteranopia (green-blind)
#CDBA4C
Tritanopia (blue-blind)
#E1A79D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b447;
/* rgb */ color: rgb(209, 180, 71);
/* oklch */ color: oklch(77.5% 0.130 94.2);
Tailwind
colors: {
  custom: {
    50: '#e3ca7f',
    500: '#d1b447',
    950: '#000000',
  },
}
SCSS
$custom: #d1b447;
$custom-light: #e3ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b447",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 71
  },
  "hsl": {
    "h": 47.391,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77507,
    "c": 0.13048,
    "h": 94.2
  },
  "luminance": 0.46653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B447

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

Preview Lab → · Contrast checker → · Palette generator →

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