#D7CE51#D7CE51

#D7CE51 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.145 H 105.2°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D7CE51
RGBrgb(215, 206, 81)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 4.2%, 62.3%, 15.7%)
CIE-LABlab(81.39, -11.96, 61.31)
CIE-LCHlch(81.39, 62.47, 101.04°)
OKLaboklab(83.55% -0.0379 0.1396)
OKLCHoklch(83.55% 0.145 105.2)
XYZxyz(51.5827, 59.1856, 16.4898)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE51 #515AD7
analogous
#D78B51 #D7CE51 #9DD751
triadic
#D7CE51 #51D7CE #CE51D7
tetradic
#D7CE51 #51D78B #515AD7 #D7519D
square
#D7CE51 #51D78B #515AD7 #D7519D
split-complementary
#D7CE51 #519DD7 #8B51D7
monochromatic
#8D8620 #BFB52C #D7CE51 #E2DC83 #EEEAB5

Accessibility & contrast

On white

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

On black

12.84
#D7CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE51
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE51#FFFFFF#000000##000000
##D7CE511.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#E6C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce51;
/* rgb */ color: rgb(215, 206, 81);
/* oklch */ color: oklch(83.5% 0.145 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6dc87',
    500: '#d7ce51',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce51;
$custom-light: #e6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce51",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 55.97,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83548,
    "c": 0.14461,
    "h": 105.2
  },
  "luminance": 0.59184
}

Semantic roles & 50–950 ramp

primary
#D7CE51
secondary
#393F93
accent
#4DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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