#D7C748#D7C748

#D7C748 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.145 H 102.1°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D7C748
RGBrgb(215, 199, 72)
HSLhsl(53, 64%, 56%)
HSVhsv(53, 67%, 84%)
CMYKcmyk(0%, 7.4%, 66.5%, 15.7%)
CIE-LABlab(79.48, -8.95, 63.01)
CIE-LCHlch(79.48, 63.64, 98.08°)
OKLaboklab(82% -0.0303 0.1418)
OKLCHoklch(82% 0.145 102.1)
XYZxyz(49.6195, 55.7639, 14.2795)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C748 #4858D7
analogous
#D78048 #D7C748 #A0D748
triadic
#D7C748 #48D7C7 #C748D7
tetradic
#D7C748 #48D780 #4858D7 #D748A0
square
#D7C748 #48D780 #4858D7 #D748A0
split-complementary
#D7C748 #48A0D7 #8048D7
monochromatic
#877B1E #B9A929 #D7C748 #E2D67A #EDE6AC

Accessibility & contrast

On white

1.73
#D7C748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D7C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C748
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C748#FFFFFF#000000##000000
##D7C7481.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C137
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#E7B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c748;
/* rgb */ color: rgb(215, 199, 72);
/* oklch */ color: oklch(82.0% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#e7d781',
    500: '#d7c748',
    950: '#000000',
  },
}
SCSS
$custom: #d7c748;
$custom-light: #e7d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c748",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 53.287,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82004,
    "c": 0.14498,
    "h": 102.1
  },
  "luminance": 0.55762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C748

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

Preview Lab → · Contrast checker → · Palette generator →

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