#D2CE42#D2CE42

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

Color values

HEX#D2CE42
RGBrgb(210, 206, 66)
HSLhsl(58, 62%, 54%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 1.9%, 68.6%, 17.6%)
CIE-LABlab(80.87, -14.91, 66.61)
CIE-LCHlch(80.87, 68.25, 102.62°)
OKLaboklab(83% -0.0475 0.1485)
OKLCHoklch(83% 0.156 107.7)
XYZxyz(49.6348, 58.2392, 13.7799)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE42 #4246D2
analogous
#D28642 #D2CE42 #8ED242
triadic
#D2CE42 #42D2CE #CE42D2
tetradic
#D2CE42 #42D286 #4246D2 #D2428E
square
#D2CE42 #42D286 #4246D2 #D2428E
split-complementary
#D2CE42 #428ED2 #8642D2
monochromatic
#7C791E #ADAA29 #D2CE42 #DEDB73 #EAE8A5

Accessibility & contrast

On white

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

On black

12.65
#D2CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE42
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE42#FFFFFF#000000##000000
##D2CE421.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ce42;
/* rgb */ color: rgb(210, 206, 66);
/* oklch */ color: oklch(83.0% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e3dc7f',
    500: '#d2ce42',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce42;
$custom-light: #e3dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce42",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 58.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82998,
    "c": 0.15594,
    "h": 107.7
  },
  "luminance": 0.58238
}

Semantic roles & 50–950 ramp

primary
#D2CE42
secondary
#343784
accent
#48E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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