#D2CF5C#D2CF5C

#D2CF5C is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.137 H 107.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D2CF5C
RGBrgb(210, 207, 92)
HSLhsl(58, 57%, 59%)
HSVhsv(58, 56%, 82%)
CMYKcmyk(0%, 1.4%, 56.2%, 17.6%)
CIE-LABlab(81.35, -13.77, 56.37)
CIE-LCHlch(81.35, 58.02, 103.73°)
OKLaboklab(83.44% -0.0415 0.1306)
OKLCHoklch(83.44% 0.137 107.6)
XYZxyz(50.8244, 59.1014, 18.8536)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF5C #5C5FD2
analogous
#D2945C #D2CF5C #9AD25C
triadic
#D2CF5C #5CD2CF #CF5CD2
tetradic
#D2CF5C #5CD294 #5C5FD2 #D25C9A
square
#D2CF5C #5CD294 #5C5FD2 #D25C9A
split-complementary
#D2CF5C #5C9AD2 #945CD2
monochromatic
#8D8A27 #BDB934 #D2CF5C #DFDD8C #ECEBBC

Accessibility & contrast

On white

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

On black

12.82
#D2CF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF5C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF5C#FFFFFF#000000##000000
##D2CF5C1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC850
Deuteranopia (green-blind)
#E1CC62
Tritanopia (blue-blind)
#E0C3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf5c;
/* rgb */ color: rgb(210, 207, 92);
/* oklch */ color: oklch(83.4% 0.137 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2dd8e',
    500: '#d2cf5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf5c;
$custom-light: #e2dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf5c",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 58.475,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83444,
    "c": 0.13703,
    "h": 107.6
  },
  "luminance": 0.591
}

Semantic roles & 50–950 ramp

primary
#D2CF5C
secondary
#3F4193
accent
#4CE048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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