#D1CF47#D1CF47

#D1CF47 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.154 H 108.5°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D1CF47
RGBrgb(209, 207, 71)
HSLhsl(59, 60%, 55%)
HSVhsv(59, 66%, 82%)
CMYKcmyk(0%, 1%, 66%, 18%)
CIE-LABlab(81.09, -15.56, 64.90)
CIE-LCHlch(81.09, 66.74, 103.48°)
OKLaboklab(83.16% -0.0488 0.1458)
OKLCHoklch(83.16% 0.154 108.5)
XYZxyz(49.7464, 58.6374, 14.6577)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF47 #4749D1
analogous
#D18A47 #D1CF47 #8ED147
triadic
#D1CF47 #47D1CF #CF47D1
tetradic
#D1CF47 #47D18A #4749D1 #D1478E
square
#D1CF47 #47D18A #4749D1 #D1478E
split-complementary
#D1CF47 #478ED1 #8A47D1
monochromatic
#7E7D20 #AFAD2C #D1CF47 #DDDC78 #E9E9A9

Accessibility & contrast

On white

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

On black

12.73
#D1CF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF47
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF47#FFFFFF#000000##000000
##D1CF471.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC734
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#DFC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf47;
/* rgb */ color: rgb(209, 207, 71);
/* oklch */ color: oklch(83.2% 0.154 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd81',
    500: '#d1cf47',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf47;
$custom-light: #e2dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf47",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 59.13,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83164,
    "c": 0.15372,
    "h": 108.5
  },
  "luminance": 0.58636
}

Semantic roles & 50–950 ramp

primary
#D1CF47
secondary
#373886
accent
#47E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF47

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

Preview Lab → · Contrast checker → · Palette generator →

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