#D1B643#D1B643

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

Color values

HEX#D1B643
RGBrgb(209, 182, 67)
HSLhsl(49, 61%, 54%)
HSVhsv(49, 68%, 82%)
CMYKcmyk(0%, 12.9%, 67.9%, 18%)
CIE-LABlab(74.46, -3.00, 59.69)
CIE-LCHlch(74.46, 59.77, 92.88°)
OKLaboklab(77.88% -0.0136 0.1341)
OKLCHoklch(77.88% 0.135 95.8)
XYZxyz(44.0377, 47.4187, 12.1422)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B643 #435ED1
analogous
#D16F43 #D1B643 #A5D143
triadic
#D1B643 #43D1B6 #B643D1
tetradic
#D1B643 #43D16F #435ED1 #D143A5
square
#D1B643 #43D16F #435ED1 #D143A5
split-complementary
#D1B643 #43A5D1 #6F43D1
monochromatic
#7B6A1E #AD942A #D1B643 #DDC974 #E9DCA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B643#FFFFFF#000000##000000
##D1B6431.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)
#C8B234
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#E1A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b643;
/* rgb */ color: rgb(209, 182, 67);
/* oklch */ color: oklch(77.9% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#e3cb7d',
    500: '#d1b643',
    950: '#000000',
  },
}
SCSS
$custom: #d1b643;
$custom-light: #e3cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b643",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 48.592,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77883,
    "c": 0.13482,
    "h": 95.8
  },
  "luminance": 0.47416
}

Semantic roles & 50–950 ramp

primary
#D1B643
secondary
#9AA5D6
accent
#62E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B643

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

Preview Lab → · Contrast checker → · Palette generator →

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