#D2CF70#D2CF70

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

Color values

HEX#D2CF70
RGBrgb(210, 207, 112)
HSLhsl(58, 52%, 63%)
HSVhsv(58, 47%, 82%)
CMYKcmyk(0%, 1.4%, 46.7%, 17.6%)
CIE-LABlab(81.56, -12.08, 47.27)
CIE-LCHlch(81.56, 48.79, 104.34°)
OKLaboklab(83.69% -0.0347 0.1128)
OKLCHoklch(83.69% 0.118 107.1)
XYZxyz(51.8169, 59.4984, 24.0809)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF70 #7073D2
analogous
#D29E70 #D2CF70 #A4D270
triadic
#D2CF70 #70D2CF #CF70D2
tetradic
#D2CF70 #70D29E #7073D2 #D270A4
square
#D2CF70 #70D29E #7073D2 #D270A4
split-complementary
#D2CF70 #70A4D2 #9E70D2
monochromatic
#989530 #C3BF41 #D2CF70 #E1DF9F #EFEECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF70#FFFFFF#000000##000000
##D2CF701.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)
#DDC868
Deuteranopia (green-blind)
#DFCD74
Tritanopia (blue-blind)
#DEC4B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf70;
/* rgb */ color: rgb(210, 207, 112);
/* oklch */ color: oklch(83.7% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1dd9b',
    500: '#d2cf70',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf70;
$custom-light: #e1dd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf70",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 112
  },
  "hsl": {
    "h": 58.163,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83687,
    "c": 0.11796,
    "h": 107.1
  },
  "luminance": 0.59497
}

Semantic roles & 50–950 ramp

primary
#D2CF70
secondary
#494C9D
accent
#2BC026
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CF70

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

Preview Lab → · Contrast checker → · Palette generator →

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