#D9CF71#D9CF71

#D9CF71 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.3% C 0.117 H 103.2°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D9CF71
RGBrgb(217, 207, 113)
HSLhsl(54, 58%, 65%)
HSVhsv(54, 48%, 85%)
CMYKcmyk(0%, 4.6%, 47.9%, 14.9%)
CIE-LABlab(82.15, -9.16, 47.62)
CIE-LCHlch(82.15, 48.50, 100.89°)
OKLaboklab(84.29% -0.0266 0.1135)
OKLCHoklch(84.29% 0.117 103.2)
XYZxyz(53.9101, 60.5713, 24.4712)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF71 #717BD9
analogous
#D99B71 #D9CF71 #AFD971
triadic
#D9CF71 #71D9CF #CF71D9
tetradic
#D9CF71 #71D99B #717BD9 #D971AF
square
#D9CF71 #71D99B #717BD9 #D971AF
split-complementary
#D9CF71 #71AFD9 #9B71D9
monochromatic
#A4982C #CCBF41 #D9CF71 #E6DFA1 #F3F0D2

Accessibility & contrast

On white

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

On black

13.11
#D9CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF71
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF71#FFFFFF#000000##000000
##D9CF711.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC969
Deuteranopia (green-blind)
#E1CF75
Tritanopia (blue-blind)
#E6C4B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cf71;
/* rgb */ color: rgb(217, 207, 113);
/* oklch */ color: oklch(84.3% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7dd9c',
    500: '#d9cf71',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf71;
$custom-light: #e7dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf71",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 54.231,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84293,
    "c": 0.11659,
    "h": 103.2
  },
  "luminance": 0.6057
}

Semantic roles & 50–950 ramp

primary
#D9CF71
secondary
#4750A7
accent
#30C520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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