#D2CE3D#D2CE3D

#D2CE3D is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.159 H 107.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CE3D
RGBrgb(210, 206, 61)
HSLhsl(58, 62%, 53%)
HSVhsv(58, 71%, 82%)
CMYKcmyk(0%, 1.9%, 71%, 17.6%)
CIE-LABlab(80.84, -15.15, 68.39)
CIE-LCHlch(80.84, 70.05, 102.49°)
OKLaboklab(82.96% -0.0487 0.1514)
OKLCHoklch(82.96% 0.159 107.8)
XYZxyz(49.4938, 58.1828, 13.0372)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE3D #3D41D2
analogous
#D2833D #D2CE3D #8CD23D
triadic
#D2CE3D #3DD2CE #CE3DD2
tetradic
#D2CE3D #3DD283 #3D41D2 #D23D8C
square
#D2CE3D #3DD283 #3D41D2 #D23D8C
split-complementary
#D2CE3D #3D8CD2 #833DD2
monochromatic
#79761C #AAA728 #D2CE3D #DEDB6F #E9E7A0

Accessibility & contrast

On white

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

On black

12.64
#D2CE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE3D
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE3D#FFFFFF#000000##000000
##D2CE3D1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC623
Deuteranopia (green-blind)
#E2CB48
Tritanopia (blue-blind)
#E1C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce3d;
/* rgb */ color: rgb(210, 206, 61);
/* oklch */ color: oklch(83.0% 0.159 107.8);
Tailwind
colors: {
  custom: {
    50: '#e3dc7c',
    500: '#d2ce3d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce3d;
$custom-light: #e3dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce3d",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 61
  },
  "hsl": {
    "h": 58.389,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82963,
    "c": 0.15907,
    "h": 107.8
  },
  "luminance": 0.58181
}

Semantic roles & 50–950 ramp

primary
#D2CE3D
secondary
#323581
accent
#47E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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