#D3C647#D3C647

#D3C647 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.145 H 103.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D3C647
RGBrgb(211, 198, 71)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 6.2%, 66.4%, 17.3%)
CIE-LABlab(78.86, -10.18, 62.67)
CIE-LCHlch(78.86, 63.49, 99.23°)
OKLaboklab(81.43% -0.0337 0.141)
OKLCHoklch(81.43% 0.145 103.4)
XYZxyz(48.1973, 54.6939, 13.9782)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C647 #4754D3
analogous
#D38047 #D3C647 #9AD347
triadic
#D3C647 #47D3C6 #C647D3
tetradic
#D3C647 #47D380 #4754D3 #D3479A
square
#D3C647 #47D380 #4754D3 #D3479A
split-complementary
#D3C647 #479AD3 #8047D3
monochromatic
#81781F #B2A62B #D3C647 #DFD578 #EBE5AA

Accessibility & contrast

On white

1.76
#D3C647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D3C647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C647
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C647#FFFFFF#000000##000000
##D3C6471.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c647;
/* rgb */ color: rgb(211, 198, 71);
/* oklch */ color: oklch(81.4% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d781',
    500: '#d3c647',
    950: '#000000',
  },
}
SCSS
$custom: #d3c647;
$custom-light: #e4d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c647",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 54.429,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81431,
    "c": 0.14498,
    "h": 103.4
  },
  "luminance": 0.54692
}

Semantic roles & 50–950 ramp

primary
#D3C647
secondary
#363E88
accent
#52E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C647

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

Preview Lab → · Contrast checker → · Palette generator →

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