#D7C648#D7C648

#D7C648 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.144 H 101.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D7C648
RGBrgb(215, 198, 72)
HSLhsl(53, 64%, 56%)
HSVhsv(53, 67%, 84%)
CMYKcmyk(0%, 7.9%, 66.5%, 15.7%)
CIE-LABlab(79.22, -8.44, 62.74)
CIE-LCHlch(79.22, 63.30, 97.66°)
OKLaboklab(81.8% -0.0289 0.1412)
OKLCHoklch(81.8% 0.144 101.6)
XYZxyz(49.3902, 55.3052, 14.2030)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C648 #4859D7
analogous
#D77F48 #D7C648 #A1D748
triadic
#D7C648 #48D7C6 #C648D7
tetradic
#D7C648 #48D77F #4859D7 #D748A1
square
#D7C648 #48D77F #4859D7 #D748A1
split-complementary
#D7C648 #48A1D7 #7F48D7
monochromatic
#877B1E #B9A829 #D7C648 #E2D67A #EDE5AC

Accessibility & contrast

On white

1.74
#D7C648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D7C648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C648
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C648#FFFFFF#000000##000000
##D7C6481.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C037
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#E7B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c648;
/* rgb */ color: rgb(215, 198, 72);
/* oklch */ color: oklch(81.8% 0.144 101.6);
Tailwind
colors: {
  custom: {
    50: '#e7d781',
    500: '#d7c648',
    950: '#000000',
  },
}
SCSS
$custom: #d7c648;
$custom-light: #e7d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c648",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 52.867,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81795,
    "c": 0.14411,
    "h": 101.6
  },
  "luminance": 0.55303
}

Semantic roles & 50–950 ramp

primary
#D7C648
secondary
#36408D
accent
#54E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C648

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

Preview Lab → · Contrast checker → · Palette generator →

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