#D1CF46#D1CF46

#D1CF46 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.72:1 contrast (WCAG AA passes).

Color values

HEX#D1CF46
RGBrgb(209, 207, 70)
HSLhsl(59, 60%, 55%)
HSVhsv(59, 67%, 82%)
CMYKcmyk(0%, 1%, 66.5%, 18%)
CIE-LABlab(81.08, -15.61, 65.28)
CIE-LCHlch(81.08, 67.12, 103.45°)
OKLaboklab(83.16% -0.049 0.1464)
OKLCHoklch(83.16% 0.154 108.5)
XYZxyz(49.7145, 58.6247, 14.4901)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF46 #4648D1
analogous
#D18A46 #D1CF46 #8DD146
triadic
#D1CF46 #46D1CF #CF46D1
tetradic
#D1CF46 #46D18A #4648D1 #D1468D
square
#D1CF46 #46D18A #4648D1 #D1468D
split-complementary
#D1CF46 #468DD1 #8A46D1
monochromatic
#7D7C1F #AEAD2B #D1CF46 #DDDC77 #E9E8A8

Accessibility & contrast

On white

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

On black

12.72
#D1CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF46
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF46#FFFFFF#000000##000000
##D1CF461.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC732
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#E0C2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf46;
/* rgb */ color: rgb(209, 207, 70);
/* oklch */ color: oklch(83.2% 0.154 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd81',
    500: '#d1cf46',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf46;
$custom-light: #e2dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf46",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 59.137,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83157,
    "c": 0.1544,
    "h": 108.5
  },
  "luminance": 0.58623
}

Semantic roles & 50–950 ramp

primary
#D1CF46
secondary
#363785
accent
#47E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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