#D2CF4E#D2CF4E

#D2CF4E is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.148 H 108.0°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D2CF4E
RGBrgb(210, 207, 78)
HSLhsl(59, 59%, 56%)
HSVhsv(59, 63%, 82%)
CMYKcmyk(0%, 1.4%, 62.9%, 17.6%)
CIE-LABlab(81.22, -14.73, 62.26)
CIE-LCHlch(81.22, 63.98, 103.31°)
OKLaboklab(83.31% -0.0458 0.1412)
OKLCHoklch(83.31% 0.148 108)
XYZxyz(50.2680, 58.8789, 15.9231)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF4E #4E51D2
analogous
#D28D4E #D2CF4E #93D24E
triadic
#D2CF4E #4ED2CF #CF4ED2
tetradic
#D2CF4E #4ED28D #4E51D2 #D24E93
square
#D2CF4E #4ED28D #4E51D2 #D24E93
split-complementary
#D2CF4E #4E93D2 #8D4ED2
monochromatic
#848222 #B5B22E #D2CF4E #DEDC7F #EBE9B0

Accessibility & contrast

On white

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

On black

12.78
#D2CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF4E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF4E#FFFFFF#000000##000000
##D2CF4E1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73E
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf4e;
/* rgb */ color: rgb(210, 207, 78);
/* oklch */ color: oklch(83.3% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#e3dd86',
    500: '#d2cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf4e;
$custom-light: #e3dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf4e",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 58.636,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83307,
    "c": 0.14848,
    "h": 108
  },
  "luminance": 0.58877
}

Semantic roles & 50–950 ramp

primary
#D2CF4E
secondary
#393B8B
accent
#49E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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