#D1B645#D1B645

#D1B645 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.133 H 95.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D1B645
RGBrgb(209, 182, 69)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 12.9%, 67%, 18%)
CIE-LABlab(74.47, -2.89, 58.88)
CIE-LCHlch(74.47, 58.95, 92.81°)
OKLaboklab(77.9% -0.013 0.1327)
OKLCHoklch(77.9% 0.133 95.6)
XYZxyz(44.0987, 47.4431, 12.4637)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B645 #4560D1
analogous
#D17045 #D1B645 #A6D145
triadic
#D1B645 #45D1B6 #B645D1
tetradic
#D1B645 #45D170 #4560D1 #D145A6
square
#D1B645 #45D170 #4560D1 #D145A6
split-complementary
#D1B645 #45A6D1 #7045D1
monochromatic
#7D6B1F #AE952B #D1B645 #DDC976 #E9DDA7

Accessibility & contrast

On white

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

On black

10.49
#D1B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B645
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B645#FFFFFF#000000##000000
##D1B6451.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b645;
/* rgb */ color: rgb(209, 182, 69);
/* oklch */ color: oklch(77.9% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#e3cb7e',
    500: '#d1b645',
    950: '#000000',
  },
}
SCSS
$custom: #d1b645;
$custom-light: #e3cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b645",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 48.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.779,
    "c": 0.13338,
    "h": 95.6
  },
  "luminance": 0.47441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B645

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

Preview Lab → · Contrast checker → · Palette generator →

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