#D2CF78#D2CF78

#D2CF78 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.110 H 106.8°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D2CF78
RGBrgb(210, 207, 120)
HSLhsl(58, 50%, 65%)
HSVhsv(58, 43%, 82%)
CMYKcmyk(0%, 1.4%, 42.9%, 17.6%)
CIE-LABlab(81.67, -11.30, 43.47)
CIE-LCHlch(81.67, 44.91, 104.57°)
OKLaboklab(83.8% -0.0317 0.1049)
OKLCHoklch(83.8% 0.11 106.8)
XYZxyz(52.2823, 59.6846, 26.5318)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF78 #787BD2
analogous
#D2A278 #D2CF78 #A8D278
triadic
#D2CF78 #78D2CF #CF78D2
tetradic
#D2CF78 #78D2A2 #787BD2 #D278A8
square
#D2CF78 #78D2A2 #787BD2 #D278A8
split-complementary
#D2CF78 #78A8D2 #A278D2
monochromatic
#9C9834 #C3BF4A #D2CF78 #E1DFA6 #F1F0D4

Accessibility & contrast

On white

1.62
#D2CF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D2CF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF78
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF78#FFFFFF#000000##000000
##D2CF781.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#DECD7C
Tritanopia (blue-blind)
#DEC5BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf78;
/* rgb */ color: rgb(210, 207, 120);
/* oklch */ color: oklch(83.8% 0.110 106.8);
Tailwind
colors: {
  custom: {
    50: '#e1dda0',
    500: '#d2cf78',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf78;
$custom-light: #e1dda0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf78",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 58,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83801,
    "c": 0.10955,
    "h": 106.8
  },
  "luminance": 0.59683
}

Semantic roles & 50–950 ramp

primary
#D2CF78
secondary
#4D50A1
accent
#2DBD28
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CF78

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

Preview Lab → · Contrast checker → · Palette generator →

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