#D1CC3E#D1CC3E

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

Color values

HEX#D1CC3E
RGBrgb(209, 204, 62)
HSLhsl(58, 62%, 53%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 2.4%, 70.3%, 18%)
CIE-LABlab(80.23, -14.53, 67.41)
CIE-LCHlch(80.23, 68.96, 102.16°)
OKLaboklab(82.46% -0.0468 0.1496)
OKLCHoklch(82.46% 0.157 107.4)
XYZxyz(48.7587, 57.0905, 13.0077)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC3E #3E43D1
analogous
#D1823E #D1CC3E #8CD13E
triadic
#D1CC3E #3ED1CC #CC3ED1
tetradic
#D1CC3E #3ED182 #3E43D1 #D13E8C
square
#D1CC3E #3ED182 #3E43D1 #D13E8C
split-complementary
#D1CC3E #3E8CD1 #823ED1
monochromatic
#78751D #A9A528 #D1CC3E #DDD96F #E9E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CC3E#FFFFFF#000000##000000
##D1CC3E1.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)
#DDC426
Deuteranopia (green-blind)
#E0C948
Tritanopia (blue-blind)
#E0BFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc3e;
/* rgb */ color: rgb(209, 204, 62);
/* oklch */ color: oklch(82.5% 0.157 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3db7c',
    500: '#d1cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc3e;
$custom-light: #e3db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc3e",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 57.959,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82458,
    "c": 0.15672,
    "h": 107.4
  },
  "luminance": 0.57089
}

Semantic roles & 50–950 ramp

primary
#D1CC3E
secondary
#333680
accent
#49E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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