#D2CF6B#D2CF6B

#D2CF6B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.123 H 107.2°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D2CF6B
RGBrgb(210, 207, 107)
HSLhsl(58, 53%, 62%)
HSVhsv(58, 49%, 82%)
CMYKcmyk(0%, 1.4%, 49%, 17.6%)
CIE-LABlab(81.51, -12.54, 49.60)
CIE-LCHlch(81.51, 51.16, 104.19°)
OKLaboklab(83.62% -0.0365 0.1175)
OKLCHoklch(83.62% 0.123 107.2)
XYZxyz(51.5462, 59.3902, 22.6552)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF6B #6B6ED2
analogous
#D29B6B #D2CF6B #A2D26B
triadic
#D2CF6B #6BD2CF #CF6BD2
tetradic
#D2CF6B #6BD29B #6B6ED2 #D26BA2
square
#D2CF6B #6BD29B #6B6ED2 #D26BA2
split-complementary
#D2CF6B #6BA2D2 #9B6BD2
monochromatic
#95922D #C4C03C #D2CF6B #E0DE9A #EFEDC9

Accessibility & contrast

On white

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

On black

12.88
#D2CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF6B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF6B#FFFFFF#000000##000000
##D2CF6B1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC862
Deuteranopia (green-blind)
#DFCC70
Tritanopia (blue-blind)
#DFC4B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf6b;
/* rgb */ color: rgb(210, 207, 107);
/* oklch */ color: oklch(83.6% 0.123 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2dd98',
    500: '#d2cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf6b;
$custom-light: #e2dd98;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf6b",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 58.252,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83621,
    "c": 0.123,
    "h": 107.2
  },
  "luminance": 0.59389
}

Semantic roles & 50–950 ramp

primary
#D2CF6B
secondary
#47499B
accent
#29C125
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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