#D1CD3E#D1CD3E

#D1CD3E is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.158 H 107.8°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D1CD3E
RGBrgb(209, 205, 62)
HSLhsl(58, 62%, 53%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 1.9%, 70.3%, 18%)
CIE-LABlab(80.50, -15.03, 67.67)
CIE-LCHlch(80.50, 69.32, 102.52°)
OKLaboklab(82.67% -0.0482 0.1501)
OKLCHoklch(82.67% 0.158 107.8)
XYZxyz(48.9972, 57.5674, 13.0871)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD3E #3E42D1
analogous
#D1833E #D1CD3E #8CD13E
triadic
#D1CD3E #3ED1CD #CD3ED1
tetradic
#D1CD3E #3ED183 #3E42D1 #D13E8C
square
#D1CD3E #3ED183 #3E42D1 #D13E8C
split-complementary
#D1CD3E #3E8CD1 #833ED1
monochromatic
#78761D #A9A628 #D1CD3E #DDDA6F #E9E7A1

Accessibility & contrast

On white

1.68
#D1CD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D1CD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD3E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD3E#FFFFFF#000000##000000
##D1CD3E1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC525
Deuteranopia (green-blind)
#E0CA48
Tritanopia (blue-blind)
#E0C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd3e;
/* rgb */ color: rgb(209, 205, 62);
/* oklch */ color: oklch(82.7% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e3dc7c',
    500: '#d1cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd3e;
$custom-light: #e3dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd3e",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 58.367,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82671,
    "c": 0.15767,
    "h": 107.8
  },
  "luminance": 0.57566
}

Semantic roles & 50–950 ramp

primary
#D1CD3E
secondary
#333580
accent
#48E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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