#D1CE78#D1CE78

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

Color values

HEX#D1CE78
RGBrgb(209, 206, 120)
HSLhsl(58, 49%, 65%)
HSVhsv(58, 43%, 82%)
CMYKcmyk(0%, 1.4%, 42.6%, 18%)
CIE-LABlab(81.32, -11.19, 43.02)
CIE-LCHlch(81.32, 44.46, 104.58°)
OKLaboklab(83.51% -0.0313 0.1039)
OKLCHoklch(83.51% 0.109 106.8)
XYZxyz(51.7569, 59.0552, 26.4380)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CE78 #787BD1
analogous
#D1A278 #D1CE78 #A7D178
triadic
#D1CE78 #78D1CE #CE78D1
tetradic
#D1CE78 #78D1A2 #787BD1 #D178A7
square
#D1CE78 #78D1A2 #787BD1 #D178A7
split-complementary
#D1CE78 #78A7D1 #A278D1
monochromatic
#9A9735 #C1BD4A #D1CE78 #E1DFA6 #F0EFD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CE78#FFFFFF#000000##000000
##D1CE781.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)
#DBC871
Deuteranopia (green-blind)
#DDCC7C
Tritanopia (blue-blind)
#DDC4B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1ce78;
/* rgb */ color: rgb(209, 206, 120);
/* oklch */ color: oklch(83.5% 0.108 106.8);
Tailwind
colors: {
  custom: {
    50: '#e0dca0',
    500: '#d1ce78',
    950: '#000000',
  },
}
SCSS
$custom: #d1ce78;
$custom-light: #e0dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ce78",
  "rgb": {
    "r": 209,
    "g": 206,
    "b": 120
  },
  "hsl": {
    "h": 57.978,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83508,
    "c": 0.1085,
    "h": 106.8
  },
  "luminance": 0.59054
}

Semantic roles & 50–950 ramp

primary
#D1CE78
secondary
#4E519F
accent
#2EBC29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D1CE78

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

Preview Lab → · Contrast checker → · Palette generator →

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