#D1CD79#D1CD79

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

Color values

HEX#D1CD79
RGBrgb(209, 205, 121)
HSLhsl(57, 49%, 65%)
HSVhsv(57, 42%, 82%)
CMYKcmyk(0%, 1.9%, 42.1%, 18%)
CIE-LABlab(81.07, -10.58, 42.21)
CIE-LCHlch(81.07, 43.52, 104.07°)
OKLaboklab(83.31% -0.0295 0.1021)
OKLCHoklch(83.31% 0.106 106.1)
XYZxyz(51.5779, 58.5997, 26.6793)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD79 #797DD1
analogous
#D1A179 #D1CD79 #A9D179
triadic
#D1CD79 #79D1CD #CD79D1
tetradic
#D1CD79 #79D1A1 #797DD1 #D179A9
square
#D1CD79 #79D1A1 #797DD1 #D179A9
split-complementary
#D1CD79 #79A9D1 #A179D1
monochromatic
#9B9635 #C1BC4B #D1CD79 #E1DEA7 #F0EFD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD79#FFFFFF#000000##000000
##D1CD791.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)
#DAC772
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#DDC3B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd79;
/* rgb */ color: rgb(209, 205, 121);
/* oklch */ color: oklch(83.3% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#e0dca1',
    500: '#d1cd79',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd79;
$custom-light: #e0dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd79",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 57.273,
    "s": 48.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83313,
    "c": 0.10629,
    "h": 106.1
  },
  "luminance": 0.58598
}

Semantic roles & 50–950 ramp

primary
#D1CD79
secondary
#4E52A0
accent
#30BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D1CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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