#D2CC65#D2CC65

#D2CC65 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.126 H 105.8°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D2CC65
RGBrgb(210, 204, 101)
HSLhsl(57, 55%, 61%)
HSVhsv(57, 52%, 82%)
CMYKcmyk(0%, 2.9%, 51.9%, 17.6%)
CIE-LABlab(80.64, -11.54, 51.42)
CIE-LCHlch(80.64, 52.70, 102.65°)
OKLaboklab(82.91% -0.0342 0.1209)
OKLCHoklch(82.91% 0.126 105.8)
XYZxyz(50.5215, 57.8284, 20.8101)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC65 #656BD2
analogous
#D29565 #D2CC65 #A1D265
triadic
#D2CC65 #65D2CC #CC65D2
tetradic
#D2CC65 #65D295 #656BD2 #D265A1
square
#D2CC65 #65D295 #656BD2 #D265A1
split-complementary
#D2CC65 #65A1D2 #9565D2
monochromatic
#928C2B #C1BA38 #D2CC65 #E0DC94 #EEEBC4

Accessibility & contrast

On white

1.67
#D2CC65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D2CC65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC65
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC65#FFFFFF#000000##000000
##D2CC651.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC55B
Deuteranopia (green-blind)
#DDCA6A
Tritanopia (blue-blind)
#DFC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc65;
/* rgb */ color: rgb(210, 204, 101);
/* oklch */ color: oklch(82.9% 0.126 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2db94',
    500: '#d2cc65',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc65;
$custom-light: #e2db94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc65",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 101
  },
  "hsl": {
    "h": 56.697,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82913,
    "c": 0.12564,
    "h": 105.8
  },
  "luminance": 0.57827
}

Semantic roles & 50–950 ramp

primary
#D2CC65
secondary
#444898
accent
#2CC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CC65

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

Preview Lab → · Contrast checker → · Palette generator →

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