#D1CE40#D1CE40

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

Color values

HEX#D1CE40
RGBrgb(209, 206, 64)
HSLhsl(59, 61%, 54%)
HSVhsv(59, 69%, 82%)
CMYKcmyk(0%, 1.4%, 69.4%, 18%)
CIE-LABlab(80.78, -15.43, 67.22)
CIE-LCHlch(80.78, 68.97, 102.93°)
OKLaboklab(82.9% -0.0491 0.1495)
OKLCHoklch(82.9% 0.157 108.2)
XYZxyz(49.2930, 58.0697, 13.4615)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CE40 #4043D1
analogous
#D18540 #D1CE40 #8BD140
triadic
#D1CE40 #40D1CE #CE40D1
tetradic
#D1CE40 #40D185 #4043D1 #D1408B
square
#D1CE40 #40D185 #4043D1 #D1408B
split-complementary
#D1CE40 #408BD1 #8540D1
monochromatic
#79771D #ABA829 #D1CE40 #DDDB71 #E9E7A3

Accessibility & contrast

On white

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

On black

12.61
#D1CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CE40
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CE40#FFFFFF#000000##000000
##D1CE401.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC629
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#E0C1B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1ce40;
/* rgb */ color: rgb(209, 206, 64);
/* oklch */ color: oklch(82.9% 0.157 108.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc7e',
    500: '#d1ce40',
    950: '#000000',
  },
}
SCSS
$custom: #d1ce40;
$custom-light: #e3dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ce40",
  "rgb": {
    "r": 209,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 58.759,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.15739,
    "h": 108.2
  },
  "luminance": 0.58068
}

Semantic roles & 50–950 ramp

primary
#D1CE40
secondary
#343581
accent
#47E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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