#D2C747#D2C747

#D2C747 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.146 H 104.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D2C747
RGBrgb(210, 199, 71)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 66%, 82%)
CMYKcmyk(0%, 5.2%, 66.2%, 17.6%)
CIE-LABlab(79.04, -11.11, 62.83)
CIE-LCHlch(79.04, 63.80, 100.03°)
OKLaboklab(81.55% -0.0363 0.1414)
OKLCHoklch(81.55% 0.146 104.4)
XYZxyz(48.1410, 55.0052, 14.0412)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C747 #4752D2
analogous
#D28247 #D2C747 #97D247
triadic
#D2C747 #47D2C7 #C747D2
tetradic
#D2C747 #47D282 #4752D2 #D24797
square
#D2C747 #47D282 #4752D2 #D24797
split-complementary
#D2C747 #4797D2 #8247D2
monochromatic
#7F781F #B1A62B #D2C747 #DED678 #EAE5A9

Accessibility & contrast

On white

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

On black

12.00
#D2C747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C747
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C747#FFFFFF#000000##000000
##D2C7471.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C036
Deuteranopia (green-blind)
#DCC64F
Tritanopia (blue-blind)
#E1BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c747;
/* rgb */ color: rgb(210, 199, 71);
/* oklch */ color: oklch(81.6% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#e3d781',
    500: '#d2c747',
    950: '#000000',
  },
}
SCSS
$custom: #d2c747;
$custom-light: #e3d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c747",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 55.252,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81553,
    "c": 0.14595,
    "h": 104.4
  },
  "luminance": 0.55003
}

Semantic roles & 50–950 ramp

primary
#D2C747
secondary
#363D87
accent
#51E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C747

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

Preview Lab → · Contrast checker → · Palette generator →

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