#D7CE4C#D7CE4C

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

Color values

HEX#D7CE4C
RGBrgb(215, 206, 76)
HSLhsl(56, 63%, 57%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.2%, 64.7%, 15.7%)
CIE-LABlab(81.35, -12.26, 63.34)
CIE-LCHlch(81.35, 64.51, 100.96°)
OKLaboklab(83.5% -0.0393 0.1431)
OKLCHoklch(83.5% 0.148 105.4)
XYZxyz(51.4021, 59.1133, 15.5385)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE4C #4C55D7
analogous
#D7894C #D7CE4C #9BD74C
triadic
#D7CE4C #4CD7CE #CE4CD7
tetradic
#D7CE4C #4CD789 #4C55D7 #D74C9B
square
#D7CE4C #4CD789 #4C55D7 #D74C9B
split-complementary
#D7CE4C #4C9BD7 #894CD7
monochromatic
#8A831F #BCB22A #D7CE4C #E2DC7E #EDE9B0

Accessibility & contrast

On white

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

On black

12.82
#D7CE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE4C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE4C#FFFFFF#000000##000000
##D7CE4C1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ce4c;
/* rgb */ color: rgb(215, 206, 76);
/* oklch */ color: oklch(83.5% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc84',
    500: '#d7ce4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce4c;
$custom-light: #e7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce4c",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 76
  },
  "hsl": {
    "h": 56.115,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83504,
    "c": 0.14839,
    "h": 105.4
  },
  "luminance": 0.59111
}

Semantic roles & 50–950 ramp

primary
#D7CE4C
secondary
#373D90
accent
#4CE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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