#D4CF8A#D4CF8A

#D4CF8A is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.3% C 0.089 H 104.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D4CF8A
RGBrgb(212, 207, 138)
HSLhsl(56, 46%, 69%)
HSVhsv(56, 35%, 83%)
CMYKcmyk(0%, 2.4%, 34.9%, 16.9%)
CIE-LABlab(82.09, -8.54, 34.96)
CIE-LCHlch(82.09, 35.99, 103.73°)
OKLaboklab(84.26% -0.0225 0.0863)
OKLCHoklch(84.26% 0.089 104.6)
XYZxyz(54.0523, 60.4589, 32.8622)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF8A #8A8FD4
analogous
#D4AA8A #D4CF8A #B4D48A
triadic
#D4CF8A #8AD4CF #CF8AD4
tetradic
#D4CF8A #8AD4AA #8A8FD4 #D48AB4
square
#D4CF8A #8AD4AA #8A8FD4 #D48AB4
split-complementary
#D4CF8A #8AB4D4 #AA8AD4
monochromatic
#A69F3D #C4BD5D #D4CF8A #E4E1B7 #F5F4E4

Accessibility & contrast

On white

1.60
#D4CF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D4CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF8A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF8A#FFFFFF#000000##000000
##D4CF8A1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA85
Deuteranopia (green-blind)
#DDCE8D
Tritanopia (blue-blind)
#DEC6BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4cf8a;
/* rgb */ color: rgb(212, 207, 138);
/* oklch */ color: oklch(84.3% 0.089 104.6);
Tailwind
colors: {
  custom: {
    50: '#e2ddad',
    500: '#d4cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf8a;
$custom-light: #e2ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf8a",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 55.946,
    "s": 46.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.84259,
    "c": 0.0892,
    "h": 104.6
  },
  "luminance": 0.60458
}

Semantic roles & 50–950 ramp

primary
#D4CF8A
secondary
#585EAA
accent
#36B92C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D4CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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