#D1C944#D1C944

#D1C944 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.150 H 105.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D1C944
RGBrgb(209, 201, 68)
HSLhsl(57, 61%, 54%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 3.8%, 67.5%, 18%)
CIE-LABlab(79.47, -12.71, 64.41)
CIE-LCHlch(79.47, 65.66, 101.16°)
OKLaboklab(81.86% -0.0411 0.1443)
OKLCHoklch(81.86% 0.15 105.9)
XYZxyz(48.2264, 55.7477, 13.6877)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C944 #444CD1
analogous
#D18344 #D1C944 #93D144
triadic
#D1C944 #44D1C9 #C944D1
tetradic
#D1C944 #44D183 #444CD1 #D14493
square
#D1C944 #44D183 #444CD1 #D14493
split-complementary
#D1C944 #4493D1 #8344D1
monochromatic
#7C771F #ADA62B #D1C944 #DDD775 #E9E5A6

Accessibility & contrast

On white

1.73
#D1C944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D1C944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C944
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C944#FFFFFF#000000##000000
##D1C9441.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC231
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#E0BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c944;
/* rgb */ color: rgb(209, 201, 68);
/* oklch */ color: oklch(81.9% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d97f',
    500: '#d1c944',
    950: '#000000',
  },
}
SCSS
$custom: #d1c944;
$custom-light: #e2d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c944",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 68
  },
  "hsl": {
    "h": 56.596,
    "s": 60.515,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81865,
    "c": 0.15,
    "h": 105.9
  },
  "luminance": 0.55746
}

Semantic roles & 50–950 ramp

primary
#D1C944
secondary
#353A84
accent
#4DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C944

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

Preview Lab → · Contrast checker → · Palette generator →

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