#D1CC3F#D1CC3F

#D1CC3F is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.156 H 107.3°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D1CC3F
RGBrgb(209, 204, 63)
HSLhsl(58, 61%, 53%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 2.4%, 69.9%, 18%)
CIE-LABlab(80.24, -14.48, 67.06)
CIE-LCHlch(80.24, 68.60, 102.18°)
OKLaboklab(82.47% -0.0465 0.149)
OKLCHoklch(82.47% 0.156 107.3)
XYZxyz(48.7864, 57.1016, 13.1535)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC3F #3F44D1
analogous
#D1833F #D1CC3F #8DD13F
triadic
#D1CC3F #3FD1CC #CC3FD1
tetradic
#D1CC3F #3FD183 #3F44D1 #D13F8D
square
#D1CC3F #3FD183 #3F44D1 #D13F8D
split-complementary
#D1CC3F #3F8DD1 #833FD1
monochromatic
#79761D #AAA629 #D1CC3F #DDD970 #E9E6A2

Accessibility & contrast

On white

1.69
#D1CC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#D1CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC3F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC3F#FFFFFF#000000##000000
##D1CC3F1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC428
Deuteranopia (green-blind)
#E0C949
Tritanopia (blue-blind)
#E0BFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc3f;
/* rgb */ color: rgb(209, 204, 63);
/* oklch */ color: oklch(82.5% 0.156 107.3);
Tailwind
colors: {
  custom: {
    50: '#e3db7d',
    500: '#d1cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc3f;
$custom-light: #e3db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc3f",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 57.945,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82465,
    "c": 0.1561,
    "h": 107.3
  },
  "luminance": 0.571
}

Semantic roles & 50–950 ramp

primary
#D1CC3F
secondary
#333681
accent
#49E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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