#D2CF74#D2CF74

#D2CF74 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.114 H 107.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D2CF74
RGBrgb(210, 207, 116)
HSLhsl(58, 51%, 64%)
HSVhsv(58, 45%, 82%)
CMYKcmyk(0%, 1.4%, 44.8%, 17.6%)
CIE-LABlab(81.61, -11.70, 45.38)
CIE-LCHlch(81.61, 46.86, 104.45°)
OKLaboklab(83.74% -0.0332 0.1089)
OKLCHoklch(83.74% 0.114 107)
XYZxyz(52.0446, 59.5895, 25.2800)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF74 #7477D2
analogous
#D2A074 #D2CF74 #A6D274
triadic
#D2CF74 #74D2CF #CF74D2
tetradic
#D2CF74 #74D2A0 #7477D2 #D274A6
square
#D2CF74 #74D2A0 #7477D2 #D274A6
split-complementary
#D2CF74 #74A6D2 #A074D2
monochromatic
#9A9632 #C3BF46 #D2CF74 #E1DFA2 #F0EFD0

Accessibility & contrast

On white

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

On black

12.92
#D2CF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF74
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF74#FFFFFF#000000##000000
##D2CF741.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC96C
Deuteranopia (green-blind)
#DECD78
Tritanopia (blue-blind)
#DEC5B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf74;
/* rgb */ color: rgb(210, 207, 116);
/* oklch */ color: oklch(83.7% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#e1dd9e',
    500: '#d2cf74',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf74;
$custom-light: #e1dd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf74",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 58.085,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83743,
    "c": 0.1138,
    "h": 107
  },
  "luminance": 0.59588
}

Semantic roles & 50–950 ramp

primary
#D2CF74
secondary
#4B4E9F
accent
#2CBE27
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2CF74

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

Preview Lab → · Contrast checker → · Palette generator →

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