#D0CE42#D0CE42

#D0CE42 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.156 H 108.6°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D0CE42
RGBrgb(208, 206, 66)
HSLhsl(59, 60%, 54%)
HSVhsv(59, 68%, 82%)
CMYKcmyk(0%, 1%, 68.3%, 18.4%)
CIE-LABlab(80.71, -15.75, 66.39)
CIE-LCHlch(80.71, 68.23, 103.34°)
OKLaboklab(82.83% -0.0498 0.1481)
OKLCHoklch(82.83% 0.156 108.6)
XYZxyz(49.0688, 57.9474, 13.7534)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CE42 #4244D0
analogous
#D08742 #D0CE42 #8BD042
triadic
#D0CE42 #42D0CE #CE42D0
tetradic
#D0CE42 #42D087 #4244D0 #D0428B
square
#D0CE42 #42D087 #4244D0 #D0428B
split-complementary
#D0CE42 #428BD0 #8742D0
monochromatic
#79781E #AAA92A #D0CE42 #DCDB73 #E8E7A4

Accessibility & contrast

On white

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

On black

12.59
#D0CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CE42
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CE42#FFFFFF#000000##000000
##D0CE421.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0ce42;
/* rgb */ color: rgb(208, 206, 66);
/* oklch */ color: oklch(82.8% 0.156 108.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc7f',
    500: '#d0ce42',
    950: '#000000',
  },
}
SCSS
$custom: #d0ce42;
$custom-light: #e2dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ce42",
  "rgb": {
    "r": 208,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 59.155,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82829,
    "c": 0.15627,
    "h": 108.6
  },
  "luminance": 0.57946
}

Semantic roles & 50–950 ramp

primary
#D0CE42
secondary
#353681
accent
#47E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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