#D2C745#D2C745

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

Color values

HEX#D2C745
RGBrgb(210, 199, 69)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.2%, 67.1%, 17.6%)
CIE-LABlab(79.03, -11.22, 63.60)
CIE-LCHlch(79.03, 64.59, 100.01°)
OKLaboklab(81.54% -0.0368 0.1427)
OKLCHoklch(81.54% 0.147 104.5)
XYZxyz(48.0778, 54.9800, 13.7088)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C745 #4550D2
analogous
#D28045 #D2C745 #97D245
triadic
#D2C745 #45D2C7 #C745D2
tetradic
#D2C745 #45D280 #4550D2 #D24597
square
#D2C745 #45D280 #4550D2 #D24597
split-complementary
#D2C745 #4597D2 #8045D2
monochromatic
#7E771F #AFA52A #D2C745 #DED676 #EAE5A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C745#FFFFFF#000000##000000
##D2C7451.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)
#D8C033
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#E1BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c745;
/* rgb */ color: rgb(210, 199, 69);
/* oklch */ color: oklch(81.5% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#e3d780',
    500: '#d2c745',
    950: '#000000',
  },
}
SCSS
$custom: #d2c745;
$custom-light: #e3d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c745",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 55.319,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81537,
    "c": 0.14736,
    "h": 104.5
  },
  "luminance": 0.54978
}

Semantic roles & 50–950 ramp

primary
#D2C745
secondary
#363C86
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C745

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

Preview Lab → · Contrast checker → · Palette generator →

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