#D4C749#D4C749

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

Color values

HEX#D4C749
RGBrgb(212, 199, 73)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 6.1%, 65.6%, 16.9%)
CIE-LABlab(79.23, -10.15, 62.26)
CIE-LCHlch(79.23, 63.09, 99.26°)
OKLaboklab(81.75% -0.0335 0.1404)
OKLCHoklch(81.75% 0.144 103.4)
XYZxyz(48.7793, 55.3268, 14.4117)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C749 #4956D4
analogous
#D48149 #D4C749 #9CD449
triadic
#D4C749 #49D4C7 #C749D4
tetradic
#D4C749 #49D481 #4956D4 #D4499C
square
#D4C749 #49D481 #4956D4 #D4499C
split-complementary
#D4C749 #499CD4 #8149D4
monochromatic
#847A1F #B5A82B #D4C749 #E0D67B #EBE5AC

Accessibility & contrast

On white

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

On black

12.07
#D4C749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C749
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C749#FFFFFF#000000##000000
##D4C7491.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C138
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#E3BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c749;
/* rgb */ color: rgb(212, 199, 73);
/* oklch */ color: oklch(81.7% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5d782',
    500: '#d4c749',
    950: '#000000',
  },
}
SCSS
$custom: #d4c749;
$custom-light: #e5d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c749",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 73
  },
  "hsl": {
    "h": 54.388,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81746,
    "c": 0.14437,
    "h": 103.4
  },
  "luminance": 0.55325
}

Semantic roles & 50–950 ramp

primary
#D4C749
secondary
#373F8A
accent
#52E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C749

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

Preview Lab → · Contrast checker → · Palette generator →

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