#D4C849#D4C849

#D4C849 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.145 H 103.9°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D4C849
RGBrgb(212, 200, 73)
HSLhsl(55, 62%, 56%)
HSVhsv(55, 66%, 83%)
CMYKcmyk(0%, 5.7%, 65.6%, 16.9%)
CIE-LABlab(79.49, -10.66, 62.54)
CIE-LCHlch(79.49, 63.44, 99.68°)
OKLaboklab(81.96% -0.0349 0.141)
OKLCHoklch(81.96% 0.145 103.9)
XYZxyz(49.0102, 55.7885, 14.4887)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C849 #4955D4
analogous
#D48249 #D4C849 #9AD449
triadic
#D4C849 #49D4C8 #C849D4
tetradic
#D4C849 #49D482 #4955D4 #D4499A
square
#D4C849 #49D482 #4955D4 #D4499A
split-complementary
#D4C849 #499AD4 #8249D4
monochromatic
#847B1F #B5A92B #D4C849 #E0D77B #EBE6AC

Accessibility & contrast

On white

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

On black

12.16
#D4C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C849
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C849#FFFFFF#000000##000000
##D4C8491.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C138
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E3BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c849;
/* rgb */ color: rgb(212, 200, 73);
/* oklch */ color: oklch(82.0% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e5d882',
    500: '#d4c849',
    950: '#000000',
  },
}
SCSS
$custom: #d4c849;
$custom-light: #e5d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c849",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 54.82,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.14528,
    "h": 103.9
  },
  "luminance": 0.55787
}

Semantic roles & 50–950 ramp

primary
#D4C849
secondary
#373E8A
accent
#51E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C849

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

Preview Lab → · Contrast checker → · Palette generator →

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