#D2CE72#D2CE72

#D2CE72 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.115 H 106.4°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D2CE72
RGBrgb(210, 206, 114)
HSLhsl(58, 52%, 64%)
HSVhsv(58, 46%, 82%)
CMYKcmyk(0%, 1.9%, 45.7%, 17.6%)
CIE-LABlab(81.32, -11.38, 46.00)
CIE-LCHlch(81.32, 47.39, 103.90°)
OKLaboklab(83.5% -0.0325 0.1101)
OKLCHoklch(83.5% 0.115 106.4)
XYZxyz(51.6880, 59.0605, 24.5933)
Luminance0.5906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE72 #7276D2
analogous
#D29E72 #D2CE72 #A6D272
triadic
#D2CE72 #72D2CE #CE72D2
tetradic
#D2CE72 #72D29E #7276D2 #D272A6
square
#D2CE72 #72D29E #7276D2 #D272A6
split-complementary
#D2CE72 #72A6D2 #9E72D2
monochromatic
#999431 #C3BE44 #D2CE72 #E1DEA0 #F0EECF

Accessibility & contrast

On white

1.64
#D2CE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D2CE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE72
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE72#FFFFFF#000000##000000
##D2CE721.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86A
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#DEC3B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2ce72;
/* rgb */ color: rgb(210, 206, 114);
/* oklch */ color: oklch(83.5% 0.115 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1dc9c',
    500: '#d2ce72',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce72;
$custom-light: #e1dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce72",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 114
  },
  "hsl": {
    "h": 57.5,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83504,
    "c": 0.11479,
    "h": 106.4
  },
  "luminance": 0.59059
}

Semantic roles & 50–950 ramp

primary
#D2CE72
secondary
#4A4E9E
accent
#2DBF26
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CE72

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

Preview Lab → · Contrast checker → · Palette generator →

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