#D7CD48#D7CD48

#D7CD48 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.150 H 105.0°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D7CD48
RGBrgb(215, 205, 72)
HSLhsl(56, 64%, 56%)
HSVhsv(56, 67%, 84%)
CMYKcmyk(0%, 4.7%, 66.5%, 15.7%)
CIE-LABlab(81.06, -11.99, 64.63)
CIE-LCHlch(81.06, 65.73, 100.51°)
OKLaboklab(83.26% -0.0389 0.1452)
OKLCHoklch(83.26% 0.15 105)
XYZxyz(51.0273, 58.5795, 14.7487)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD48 #4852D7
analogous
#D78648 #D7CD48 #9AD748
triadic
#D7CD48 #48D7CD #CD48D7
tetradic
#D7CD48 #48D786 #4852D7 #D7489A
square
#D7CD48 #48D786 #4852D7 #D7489A
split-complementary
#D7CD48 #489AD7 #8648D7
monochromatic
#87801E #B9AF29 #D7CD48 #E2DB7A #EDE8AC

Accessibility & contrast

On white

1.65
#D7CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D7CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD48
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD48#FFFFFF#000000##000000
##D7CD481.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC635
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#E6C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd48;
/* rgb */ color: rgb(215, 205, 72);
/* oklch */ color: oklch(83.3% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc82',
    500: '#d7cd48',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd48;
$custom-light: #e7dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd48",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 55.804,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8326,
    "c": 0.15033,
    "h": 105
  },
  "luminance": 0.58578
}

Semantic roles & 50–950 ramp

primary
#D7CD48
secondary
#363C8D
accent
#4CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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