#D4C647#D4C647

#D4C647 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.145 H 103.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D4C647
RGBrgb(212, 198, 71)
HSLhsl(54, 62%, 55%)
HSVhsv(54, 67%, 83%)
CMYKcmyk(0%, 6.6%, 66.5%, 16.9%)
CIE-LABlab(78.95, -9.76, 62.78)
CIE-LCHlch(78.95, 63.54, 98.84°)
OKLaboklab(81.52% -0.0326 0.1412)
OKLCHoklch(81.52% 0.145 103)
XYZxyz(48.4848, 54.8421, 13.9917)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C647 #4755D4
analogous
#D48047 #D4C647 #9BD447
triadic
#D4C647 #47D4C6 #C647D4
tetradic
#D4C647 #47D480 #4755D4 #D4479B
square
#D4C647 #47D480 #4755D4 #D4479B
split-complementary
#D4C647 #479BD4 #8047D4
monochromatic
#82781E #B4A62A #D4C647 #E0D579 #EBE5AA

Accessibility & contrast

On white

1.75
#D4C647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D4C647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C647
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C647#FFFFFF#000000##000000
##D4C6471.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C036
Deuteranopia (green-blind)
#DCC64F
Tritanopia (blue-blind)
#E4B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c647;
/* rgb */ color: rgb(212, 198, 71);
/* oklch */ color: oklch(81.5% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e5d781',
    500: '#d4c647',
    950: '#000000',
  },
}
SCSS
$custom: #d4c647;
$custom-light: #e5d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c647",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 54.043,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81519,
    "c": 0.14493,
    "h": 103
  },
  "luminance": 0.5484
}

Semantic roles & 50–950 ramp

primary
#D4C647
secondary
#363E89
accent
#53E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C647

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

Preview Lab → · Contrast checker → · Palette generator →

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