#D9CF8A#D9CF8A

#D9CF8A is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.7% C 0.089 H 101.0°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D9CF8A
RGBrgb(217, 207, 138)
HSLhsl(52, 51%, 70%)
HSVhsv(52, 36%, 85%)
CMYKcmyk(0%, 4.6%, 36.4%, 14.9%)
CIE-LABlab(82.49, -6.58, 35.57)
CIE-LCHlch(82.49, 36.17, 100.49°)
OKLaboklab(84.68% -0.017 0.0877)
OKLCHoklch(84.68% 0.089 101)
XYZxyz(55.5164, 61.2138, 32.9308)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF8A #8A94D9
analogous
#D9A88A #D9CF8A #BCD98A
triadic
#D9CF8A #8AD9CF #CF8AD9
tetradic
#D9CF8A #8AD9A8 #8A94D9 #D98ABC
square
#D9CF8A #8AD9A8 #8A94D9 #D98ABC
split-complementary
#D9CF8A #8ABCD9 #A88AD9
monochromatic
#B0A139 #CABC5C #D9CF8A #E8E2B8 #F7F5E6

Accessibility & contrast

On white

1.59
#D9CF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#D9CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF8A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF8A#FFFFFF#000000##000000
##D9CF8A1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCB85
Deuteranopia (green-blind)
#DECF8D
Tritanopia (blue-blind)
#E4C6BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9cf8a;
/* rgb */ color: rgb(217, 207, 138);
/* oklch */ color: oklch(84.7% 0.089 101.0);
Tailwind
colors: {
  custom: {
    50: '#e6ddad',
    500: '#d9cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf8a;
$custom-light: #e6ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf8a",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 52.405,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84679,
    "c": 0.08934,
    "h": 101
  },
  "luminance": 0.61212
}

Semantic roles & 50–950 ramp

primary
#D9CF8A
secondary
#5863B0
accent
#3ABE27
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D9CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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