#D9CC65#D9CC65

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

Color values

HEX#D9CC65
RGBrgb(217, 204, 101)
HSLhsl(53, 60%, 62%)
HSVhsv(53, 53%, 85%)
CMYKcmyk(0%, 6%, 53.5%, 14.9%)
CIE-LABlab(81.22, -8.67, 52.25)
CIE-LCHlch(81.22, 52.96, 99.43°)
OKLaboklab(83.52% -0.0264 0.1226)
OKLCHoklch(83.52% 0.125 102.2)
XYZxyz(52.5588, 58.8789, 20.9056)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC65 #6572D9
analogous
#D99265 #D9CC65 #ACD965
triadic
#D9CC65 #65D9CC #CC65D9
tetradic
#D9CC65 #65D992 #6572D9 #D965AC
square
#D9CC65 #65D992 #6572D9 #D965AC
split-complementary
#D9CC65 #65ACD9 #9265D9
monochromatic
#9D9027 #CDBC34 #D9CC65 #E5DC96 #F1EDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CC65#FFFFFF#000000##000000
##D9CC651.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)
#DCC65B
Deuteranopia (green-blind)
#E0CC6A
Tritanopia (blue-blind)
#E7C0B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cc65;
/* rgb */ color: rgb(217, 204, 101);
/* oklch */ color: oklch(83.5% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#e7db94',
    500: '#d9cc65',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc65;
$custom-light: #e7db94;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc65",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 101
  },
  "hsl": {
    "h": 53.276,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83516,
    "c": 0.12539,
    "h": 102.2
  },
  "luminance": 0.58877
}

Semantic roles & 50–950 ramp

primary
#D9CC65
secondary
#414CA1
accent
#31C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9CC65

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

Preview Lab → · Contrast checker → · Palette generator →

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