#D1C844#D1C844

#D1C844 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.149 H 105.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D1C844
RGBrgb(209, 200, 68)
HSLhsl(56, 61%, 54%)
HSVhsv(56, 67%, 82%)
CMYKcmyk(0%, 4.3%, 67.5%, 18%)
CIE-LABlab(79.20, -12.21, 64.14)
CIE-LCHlch(79.20, 65.30, 100.77°)
OKLaboklab(81.65% -0.0396 0.1437)
OKLCHoklch(81.65% 0.149 105.4)
XYZxyz(47.9940, 55.2830, 13.6103)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C844 #444DD1
analogous
#D18244 #D1C844 #94D144
triadic
#D1C844 #44D1C8 #C844D1
tetradic
#D1C844 #44D182 #444DD1 #D14494
square
#D1C844 #44D182 #444DD1 #D14494
split-complementary
#D1C844 #4494D1 #8244D1
monochromatic
#7C761F #ADA52B #D1C844 #DDD675 #E9E5A6

Accessibility & contrast

On white

1.74
#D1C844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D1C844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C844
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C844#FFFFFF#000000##000000
##D1C8441.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C131
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#E0BBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c844;
/* rgb */ color: rgb(209, 200, 68);
/* oklch */ color: oklch(81.7% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e3d87f',
    500: '#d1c844',
    950: '#000000',
  },
}
SCSS
$custom: #d1c844;
$custom-light: #e3d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c844",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 56.17,
    "s": 60.515,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81653,
    "c": 0.14907,
    "h": 105.4
  },
  "luminance": 0.55281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C844

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

Preview Lab → · Contrast checker → · Palette generator →

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