#D4C349#D4C349

#D4C349 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.141 H 101.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D4C349
RGBrgb(212, 195, 73)
HSLhsl(53, 62%, 56%)
HSVhsv(53, 66%, 83%)
CMYKcmyk(0%, 8%, 65.6%, 16.9%)
CIE-LABlab(78.18, -8.11, 61.16)
CIE-LCHlch(78.18, 61.70, 97.56°)
OKLaboklab(80.91% -0.0277 0.1381)
OKLCHoklch(80.91% 0.141 101.3)
XYZxyz(47.8711, 53.5103, 14.1090)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C349 #495AD4
analogous
#D47D49 #D4C349 #9FD449
triadic
#D4C349 #49D4C3 #C349D4
tetradic
#D4C349 #49D47D #495AD4 #D4499F
square
#D4C349 #49D47D #495AD4 #D4499F
split-complementary
#D4C349 #499FD4 #7D49D4
monochromatic
#84771F #B5A42B #D4C349 #E0D37B #EBE4AC

Accessibility & contrast

On white

1.79
#D4C349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D4C349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C349
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C349#FFFFFF#000000##000000
##D4C3491.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD39
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#E4B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c349;
/* rgb */ color: rgb(212, 195, 73);
/* oklch */ color: oklch(80.9% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#e5d482',
    500: '#d4c349',
    950: '#000000',
  },
}
SCSS
$custom: #d4c349;
$custom-light: #e5d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c349",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 52.662,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80909,
    "c": 0.14086,
    "h": 101.3
  },
  "luminance": 0.53508
}

Semantic roles & 50–950 ramp

primary
#D4C349
secondary
#37418A
accent
#57E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C349

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

Preview Lab → · Contrast checker → · Palette generator →

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