#D1CE42#D1CE42

#D1CE42 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.156 H 108.2°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D1CE42
RGBrgb(209, 206, 66)
HSLhsl(59, 61%, 54%)
HSVhsv(59, 68%, 82%)
CMYKcmyk(0%, 1.4%, 68.4%, 18%)
CIE-LABlab(80.79, -15.33, 66.50)
CIE-LCHlch(80.79, 68.24, 102.98°)
OKLaboklab(82.91% -0.0486 0.1483)
OKLCHoklch(82.91% 0.156 108.2)
XYZxyz(49.3510, 58.0928, 13.7666)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CE42 #4245D1
analogous
#D18742 #D1CE42 #8DD142
triadic
#D1CE42 #42D1CE #CE42D1
tetradic
#D1CE42 #42D187 #4245D1 #D1428D
square
#D1CE42 #42D187 #4245D1 #D1428D
split-complementary
#D1CE42 #428DD1 #8742D1
monochromatic
#7B791E #ACA92A #D1CE42 #DDDB73 #E9E8A4

Accessibility & contrast

On white

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

On black

12.62
#D1CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CE42
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CE42#FFFFFF#000000##000000
##D1CE421.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1ce42;
/* rgb */ color: rgb(209, 206, 66);
/* oklch */ color: oklch(82.9% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc7f',
    500: '#d1ce42',
    950: '#000000',
  },
}
SCSS
$custom: #d1ce42;
$custom-light: #e3dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ce42",
  "rgb": {
    "r": 209,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 58.741,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82913,
    "c": 0.1561,
    "h": 108.2
  },
  "luminance": 0.58091
}

Semantic roles & 50–950 ramp

primary
#D1CE42
secondary
#353683
accent
#47E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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