#D1B545#D1B545

#D1B545 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.133 H 95.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D1B545
RGBrgb(209, 181, 69)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 13.4%, 67%, 18%)
CIE-LABlab(74.21, -2.36, 58.61)
CIE-LCHlch(74.21, 58.65, 92.31°)
OKLaboklab(77.69% -0.0115 0.1322)
OKLCHoklch(77.69% 0.133 95)
XYZxyz(43.8947, 47.0350, 12.3957)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B545 #4561D1
analogous
#D16F45 #D1B545 #A7D145
triadic
#D1B545 #45D1B5 #B545D1
tetradic
#D1B545 #45D16F #4561D1 #D145A7
square
#D1B545 #45D16F #4561D1 #D145A7
split-complementary
#D1B545 #45A7D1 #6F45D1
monochromatic
#7D6A1F #AE942B #D1B545 #DDC976 #E9DCA7

Accessibility & contrast

On white

2.02
#D1B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#D1B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B545
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B545#FFFFFF#000000##000000
##D1B5451.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#E1A79E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b545;
/* rgb */ color: rgb(209, 181, 69);
/* oklch */ color: oklch(77.7% 0.133 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3ca7e',
    500: '#d1b545',
    950: '#000000',
  },
}
SCSS
$custom: #d1b545;
$custom-light: #e3ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b545",
  "rgb": {
    "r": 209,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 48,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77694,
    "c": 0.13266,
    "h": 95
  },
  "luminance": 0.47033
}

Semantic roles & 50–950 ramp

primary
#D1B545
secondary
#9BA7D7
accent
#64E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B545

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

Preview Lab → · Contrast checker → · Palette generator →

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