#D2CA70#D2CA70

#D2CA70 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.113 H 104.1°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D2CA70
RGBrgb(210, 202, 112)
HSLhsl(55, 52%, 63%)
HSVhsv(55, 47%, 82%)
CMYKcmyk(0%, 3.8%, 46.7%, 17.6%)
CIE-LABlab(80.24, -9.54, 45.66)
CIE-LCHlch(80.24, 46.64, 101.80°)
OKLaboklab(82.64% -0.0274 0.1092)
OKLCHoklch(82.64% 0.113 104.1)
XYZxyz(50.6247, 57.1140, 23.6835)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA70 #7078D2
analogous
#D29970 #D2CA70 #A9D270
triadic
#D2CA70 #70D2CA #CA70D2
tetradic
#D2CA70 #70D299 #7078D2 #D270A9
square
#D2CA70 #70D299 #7078D2 #D270A9
split-complementary
#D2CA70 #70A9D2 #9970D2
monochromatic
#988F30 #C3B941 #D2CA70 #E1DB9F #EFEDCD

Accessibility & contrast

On white

1.69
#D2CA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#D2CA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA70
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA70#FFFFFF#000000##000000
##D2CA701.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C468
Deuteranopia (green-blind)
#DBC974
Tritanopia (blue-blind)
#DFBFB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca70;
/* rgb */ color: rgb(210, 202, 112);
/* oklch */ color: oklch(82.6% 0.113 104.1);
Tailwind
colors: {
  custom: {
    50: '#e1da9b',
    500: '#d2ca70',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca70;
$custom-light: #e1da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca70",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 112
  },
  "hsl": {
    "h": 55.102,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82637,
    "c": 0.11258,
    "h": 104.1
  },
  "luminance": 0.57113
}

Semantic roles & 50–950 ramp

primary
#D2CA70
secondary
#49509D
accent
#33C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CA70

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

Preview Lab → · Contrast checker → · Palette generator →

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