#D1B345#D1B345

#D1B345 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.131 H 93.7°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#D1B345
RGBrgb(209, 179, 69)
HSLhsl(47, 60%, 55%)
HSVhsv(47, 67%, 82%)
CMYKcmyk(0%, 14.4%, 67%, 18%)
CIE-LABlab(73.69, -1.32, 58.06)
CIE-LCHlch(73.69, 58.08, 91.30°)
OKLaboklab(77.28% -0.0085 0.131)
OKLCHoklch(77.28% 0.131 93.7)
XYZxyz(43.4909, 46.2275, 12.2611)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B345 #4563D1
analogous
#D16D45 #D1B345 #A9D145
triadic
#D1B345 #45D1B3 #B345D1
tetradic
#D1B345 #45D16D #4563D1 #D145A9
square
#D1B345 #45D16D #4563D1 #D145A9
split-complementary
#D1B345 #45A9D1 #6D45D1
monochromatic
#7D691F #AE922B #D1B345 #DDC776 #E9DBA7

Accessibility & contrast

On white

2.05
#D1B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#D1B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B345
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B345#FFFFFF#000000##000000
##D1B3451.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#E1A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b345;
/* rgb */ color: rgb(209, 179, 69);
/* oklch */ color: oklch(77.3% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#e3c97e',
    500: '#d1b345',
    950: '#000000',
  },
}
SCSS
$custom: #d1b345;
$custom-light: #e3c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b345",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 47.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77284,
    "c": 0.13129,
    "h": 93.7
  },
  "luminance": 0.46225
}

Semantic roles & 50–950 ramp

primary
#D1B345
secondary
#9BA8D7
accent
#66E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B345

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

Preview Lab → · Contrast checker → · Palette generator →

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