#D2CF71#D2CF71

#D2CF71 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.117 H 107.1°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D2CF71
RGBrgb(210, 207, 113)
HSLhsl(58, 52%, 63%)
HSVhsv(58, 46%, 82%)
CMYKcmyk(0%, 1.4%, 46.2%, 17.6%)
CIE-LABlab(81.58, -11.99, 46.80)
CIE-LCHlch(81.58, 48.31, 104.37°)
OKLaboklab(83.7% -0.0343 0.1118)
OKLCHoklch(83.7% 0.117 107.1)
XYZxyz(51.8729, 59.5208, 24.3757)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF71 #7174D2
analogous
#D29E71 #D2CF71 #A4D271
triadic
#D2CF71 #71D2CF #CF71D2
tetradic
#D2CF71 #71D29E #7174D2 #D271A4
square
#D2CF71 #71D29E #7174D2 #D271A4
split-complementary
#D2CF71 #71A4D2 #9E71D2
monochromatic
#989530 #C3BF43 #D2CF71 #E1DF9F #EFEECE

Accessibility & contrast

On white

1.63
#D2CF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D2CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF71
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF71#FFFFFF#000000##000000
##D2CF711.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC869
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#DEC4B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf71;
/* rgb */ color: rgb(210, 207, 113);
/* oklch */ color: oklch(83.7% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1dd9c',
    500: '#d2cf71',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf71;
$custom-light: #e1dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf71",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 58.144,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83701,
    "c": 0.11693,
    "h": 107.1
  },
  "luminance": 0.5952
}

Semantic roles & 50–950 ramp

primary
#D2CF71
secondary
#4A4C9E
accent
#2BBF26
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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