#D2CF68#D2CF68

#D2CF68 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.126 H 107.3°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D2CF68
RGBrgb(210, 207, 104)
HSLhsl(58, 54%, 62%)
HSVhsv(58, 50%, 82%)
CMYKcmyk(0%, 1.4%, 50.5%, 17.6%)
CIE-LABlab(81.47, -12.80, 50.98)
CIE-LCHlch(81.47, 52.57, 104.09°)
OKLaboklab(83.58% -0.0375 0.1202)
OKLCHoklch(83.58% 0.126 107.3)
XYZxyz(51.3911, 59.3281, 21.8384)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF68 #686BD2
analogous
#D29A68 #D2CF68 #A0D268
triadic
#D2CF68 #68D2CF #CF68D2
tetradic
#D2CF68 #68D29A #686BD2 #D268A0
square
#D2CF68 #68D29A #686BD2 #D268A0
split-complementary
#D2CF68 #68A0D2 #9A68D2
monochromatic
#94912C #C3BF3A #D2CF68 #E0DE97 #EEEDC6

Accessibility & contrast

On white

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

On black

12.87
#D2CF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF68
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF68#FFFFFF#000000##000000
##D2CF681.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf68;
/* rgb */ color: rgb(210, 207, 104);
/* oklch */ color: oklch(83.6% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#e2dd96',
    500: '#d2cf68',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf68;
$custom-light: #e2dd96;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf68",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 104
  },
  "hsl": {
    "h": 58.302,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83583,
    "c": 0.12594,
    "h": 107.3
  },
  "luminance": 0.59327
}

Semantic roles & 50–950 ramp

primary
#D2CF68
secondary
#454799
accent
#28C224
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CF68

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

Preview Lab → · Contrast checker → · Palette generator →

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