#D2CC61#D2CC61

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

Color values

HEX#D2CC61
RGBrgb(210, 204, 97)
HSLhsl(57, 56%, 60%)
HSVhsv(57, 54%, 82%)
CMYKcmyk(0%, 2.9%, 53.8%, 17.6%)
CIE-LABlab(80.60, -11.87, 53.24)
CIE-LCHlch(80.60, 54.54, 102.57°)
OKLaboklab(82.87% -0.0356 0.1244)
OKLCHoklch(82.87% 0.129 106)
XYZxyz(50.3303, 57.7519, 19.8030)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC61 #6167D2
analogous
#D29361 #D2CC61 #A0D261
triadic
#D2CC61 #61D2CC #CC61D2
tetradic
#D2CC61 #61D293 #6167D2 #D261A0
square
#D2CC61 #61D293 #6167D2 #D261A0
split-complementary
#D2CC61 #61A0D2 #9361D2
monochromatic
#908A29 #BFB836 #D2CC61 #E0DB91 #EDEBC0

Accessibility & contrast

On white

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

On black

12.55
#D2CC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC61
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC61#FFFFFF#000000##000000
##D2CC611.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#DECA66
Tritanopia (blue-blind)
#DFC0B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc61;
/* rgb */ color: rgb(210, 204, 97);
/* oklch */ color: oklch(82.9% 0.129 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2db91',
    500: '#d2cc61',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc61;
$custom-light: #e2db91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc61",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 97
  },
  "hsl": {
    "h": 56.814,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82866,
    "c": 0.12941,
    "h": 106
  },
  "luminance": 0.5775
}

Semantic roles & 50–950 ramp

primary
#D2CC61
secondary
#424696
accent
#2BC322
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CC61

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

Preview Lab → · Contrast checker → · Palette generator →

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