#D2CD65#D2CD65

#D2CD65 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.127 H 106.4°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D2CD65
RGBrgb(210, 205, 101)
HSLhsl(57, 55%, 61%)
HSVhsv(57, 52%, 82%)
CMYKcmyk(0%, 2.4%, 51.9%, 17.6%)
CIE-LABlab(80.91, -12.05, 51.73)
CIE-LCHlch(80.91, 53.12, 103.11°)
OKLaboklab(83.12% -0.0357 0.1216)
OKLCHoklch(83.12% 0.127 106.4)
XYZxyz(50.7600, 58.3053, 20.8896)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD65 #656AD2
analogous
#D29665 #D2CD65 #A0D265
triadic
#D2CD65 #65D2CD #CD65D2
tetradic
#D2CD65 #65D296 #656AD2 #D265A0
square
#D2CD65 #65D296 #656AD2 #D265A0
split-complementary
#D2CD65 #65A0D2 #9665D2
monochromatic
#928D2B #C1BB38 #D2CD65 #E0DC94 #EEECC4

Accessibility & contrast

On white

1.66
#D2CD65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D2CD65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD65
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD65#FFFFFF#000000##000000
##D2CD651.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65B
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#DFC2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd65;
/* rgb */ color: rgb(210, 205, 101);
/* oklch */ color: oklch(83.1% 0.127 106.4);
Tailwind
colors: {
  custom: {
    50: '#e2dc94',
    500: '#d2cd65',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd65;
$custom-light: #e2dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd65",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 101
  },
  "hsl": {
    "h": 57.248,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83124,
    "c": 0.12669,
    "h": 106.4
  },
  "luminance": 0.58304
}

Semantic roles & 50–950 ramp

primary
#D2CD65
secondary
#444798
accent
#2BC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD65

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

Preview Lab → · Contrast checker → · Palette generator →

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