#D2CF5D#D2CF5D

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

Color values

HEX#D2CF5D
RGBrgb(210, 207, 93)
HSLhsl(58, 57%, 59%)
HSVhsv(58, 56%, 82%)
CMYKcmyk(0%, 1.4%, 55.7%, 17.6%)
CIE-LABlab(81.36, -13.69, 55.93)
CIE-LCHlch(81.36, 57.58, 103.76°)
OKLaboklab(83.46% -0.0412 0.1298)
OKLCHoklch(83.46% 0.136 107.6)
XYZxyz(50.8684, 59.1190, 19.0853)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF5D #5D60D2
analogous
#D2955D #D2CF5D #9AD25D
triadic
#D2CF5D #5DD2CF #CF5DD2
tetradic
#D2CF5D #5DD295 #5D60D2 #D25D9A
square
#D2CF5D #5DD295 #5D60D2 #D25D9A
split-complementary
#D2CF5D #5D9AD2 #955DD2
monochromatic
#8D8B27 #BDBA35 #D2CF5D #DFDD8D #EDEBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF5D#FFFFFF#000000##000000
##D2CF5D1.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)
#DEC851
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#E0C3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf5d;
/* rgb */ color: rgb(210, 207, 93);
/* oklch */ color: oklch(83.5% 0.136 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2dd8f',
    500: '#d2cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf5d;
$custom-light: #e2dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf5d",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 58.462,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83455,
    "c": 0.13615,
    "h": 107.6
  },
  "luminance": 0.59118
}

Semantic roles & 50–950 ramp

primary
#D2CF5D
secondary
#404293
accent
#4CE048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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