#D1CF4C#D1CF4C

#D1CF4C is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.150 H 108.4°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D1CF4C
RGBrgb(209, 207, 76)
HSLhsl(59, 59%, 56%)
HSVhsv(59, 64%, 82%)
CMYKcmyk(0%, 1%, 63.6%, 18%)
CIE-LABlab(81.13, -15.26, 62.95)
CIE-LCHlch(81.13, 64.77, 103.63°)
OKLaboklab(83.21% -0.0474 0.1424)
OKLCHoklch(83.21% 0.15 108.4)
XYZxyz(49.9135, 58.7042, 15.5379)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF4C #4C4ED1
analogous
#D18C4C #D1CF4C #90D14C
triadic
#D1CF4C #4CD1CF #CF4CD1
tetradic
#D1CF4C #4CD18C #4C4ED1 #D14C90
square
#D1CF4C #4CD18C #4C4ED1 #D14C90
split-complementary
#D1CF4C #4C90D1 #8C4CD1
monochromatic
#818021 #B2B02E #D1CF4C #DEDC7D #EAE9AD

Accessibility & contrast

On white

1.65
#D1CF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D1CF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF4C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF4C#FFFFFF#000000##000000
##D1CF4C1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73B
Deuteranopia (green-blind)
#E1CC54
Tritanopia (blue-blind)
#DFC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf4c;
/* rgb */ color: rgb(209, 207, 76);
/* oklch */ color: oklch(83.2% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd84',
    500: '#d1cf4c',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf4c;
$custom-light: #e2dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf4c",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 59.098,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83206,
    "c": 0.15013,
    "h": 108.4
  },
  "luminance": 0.58703
}

Semantic roles & 50–950 ramp

primary
#D1CF4C
secondary
#393A89
accent
#48E246
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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