#D1B642#D1B642

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

Color values

HEX#D1B642
RGBrgb(209, 182, 66)
HSLhsl(49, 61%, 54%)
HSVhsv(49, 68%, 82%)
CMYKcmyk(0%, 12.9%, 68.4%, 18%)
CIE-LABlab(74.45, -3.05, 60.10)
CIE-LCHlch(74.45, 60.17, 92.91°)
OKLaboklab(77.87% -0.0138 0.1348)
OKLCHoklch(77.87% 0.136 95.9)
XYZxyz(44.0080, 47.4068, 11.9856)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B642 #425DD1
analogous
#D16F42 #D1B642 #A5D142
triadic
#D1B642 #42D1B6 #B642D1
tetradic
#D1B642 #42D16F #425DD1 #D142A5
square
#D1B642 #42D16F #425DD1 #D142A5
split-complementary
#D1B642 #42A5D1 #6F42D1
monochromatic
#7B691E #AC932A #D1B642 #DDC973 #E9DCA4

Accessibility & contrast

On white

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

On black

10.48
#D1B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B642
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B642#FFFFFF#000000##000000
##D1B6421.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#E1A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b642;
/* rgb */ color: rgb(209, 182, 66);
/* oklch */ color: oklch(77.9% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#e3cb7d',
    500: '#d1b642',
    950: '#000000',
  },
}
SCSS
$custom: #d1b642;
$custom-light: #e3cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b642",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 48.671,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77874,
    "c": 0.13552,
    "h": 95.9
  },
  "luminance": 0.47405
}

Semantic roles & 50–950 ramp

primary
#D1B642
secondary
#99A4D6
accent
#62E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B642

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

Preview Lab → · Contrast checker → · Palette generator →

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