#D7CE48#D7CE48

#D7CE48 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.151 H 105.5°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D7CE48
RGBrgb(215, 206, 72)
HSLhsl(56, 64%, 56%)
HSVhsv(56, 67%, 84%)
CMYKcmyk(0%, 4.2%, 66.5%, 15.7%)
CIE-LABlab(81.32, -12.49, 64.90)
CIE-LCHlch(81.32, 66.09, 100.89°)
OKLaboklab(83.47% -0.0404 0.1458)
OKLCHoklch(83.47% 0.151 105.5)
XYZxyz(51.2673, 59.0594, 14.8287)
Luminance0.5906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE48 #4851D7
analogous
#D78748 #D7CE48 #99D748
triadic
#D7CE48 #48D7CE #CE48D7
tetradic
#D7CE48 #48D787 #4851D7 #D74899
square
#D7CE48 #48D787 #4851D7 #D74899
split-complementary
#D7CE48 #4899D7 #8748D7
monochromatic
#87801E #B9B029 #D7CE48 #E2DB7A #EDE9AC

Accessibility & contrast

On white

1.64
#D7CE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D7CE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE48
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE48#FFFFFF#000000##000000
##D7CE481.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC735
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#E6C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce48;
/* rgb */ color: rgb(215, 206, 72);
/* oklch */ color: oklch(83.5% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e7dc82',
    500: '#d7ce48',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce48;
$custom-light: #e7dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce48",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 56.224,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83471,
    "c": 0.15126,
    "h": 105.5
  },
  "luminance": 0.59058
}

Semantic roles & 50–950 ramp

primary
#D7CE48
secondary
#363B8D
accent
#4BE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CE48

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

Preview Lab → · Contrast checker → · Palette generator →

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