#D4C844#D4C844

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

Color values

HEX#D4C844
RGBrgb(212, 200, 68)
HSLhsl(55, 63%, 55%)
HSVhsv(55, 68%, 83%)
CMYKcmyk(0%, 5.7%, 67.9%, 16.9%)
CIE-LABlab(79.46, -10.94, 64.48)
CIE-LCHlch(79.46, 65.40, 99.63°)
OKLaboklab(81.92% -0.0362 0.1443)
OKLCHoklch(81.92% 0.149 104.1)
XYZxyz(48.8510, 55.7249, 13.6505)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C844 #4450D4
analogous
#D48044 #D4C844 #98D444
triadic
#D4C844 #44D4C8 #C844D4
tetradic
#D4C844 #44D480 #4450D4 #D44498
square
#D4C844 #44D480 #4450D4 #D44498
split-complementary
#D4C844 #4498D4 #8044D4
monochromatic
#80781D #B2A629 #D4C844 #DFD776 #EBE5A8

Accessibility & contrast

On white

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

On black

12.14
#D4C844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C844
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C844#FFFFFF#000000##000000
##D4C8441.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C131
Deuteranopia (green-blind)
#DDC84C
Tritanopia (blue-blind)
#E3BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c844;
/* rgb */ color: rgb(212, 200, 68);
/* oklch */ color: oklch(81.9% 0.149 104.1);
Tailwind
colors: {
  custom: {
    50: '#e5d87f',
    500: '#d4c844',
    950: '#000000',
  },
}
SCSS
$custom: #d4c844;
$custom-light: #e5d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c844",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 55,
    "s": 62.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81915,
    "c": 0.1488,
    "h": 104.1
  },
  "luminance": 0.55723
}

Semantic roles & 50–950 ramp

primary
#D4C844
secondary
#353C87
accent
#50E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C844

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

Preview Lab → · Contrast checker → · Palette generator →

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