#D1CF48#D1CF48

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

Color values

HEX#D1CF48
RGBrgb(209, 207, 72)
HSLhsl(59, 60%, 55%)
HSVhsv(59, 66%, 82%)
CMYKcmyk(0%, 1%, 65.6%, 18%)
CIE-LABlab(81.10, -15.50, 64.51)
CIE-LCHlch(81.10, 66.35, 103.51°)
OKLaboklab(83.17% -0.0485 0.1451)
OKLCHoklch(83.17% 0.153 108.5)
XYZxyz(49.7787, 58.6503, 14.8281)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF48 #484AD1
analogous
#D18A48 #D1CF48 #8FD148
triadic
#D1CF48 #48D1CF #CF48D1
tetradic
#D1CF48 #48D18A #484AD1 #D1488F
square
#D1CF48 #48D18A #484AD1 #D1488F
split-complementary
#D1CF48 #488FD1 #8A48D1
monochromatic
#7F7D20 #B0AE2C #D1CF48 #DDDC79 #EAE9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CF48#FFFFFF#000000##000000
##D1CF481.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)
#DFC735
Deuteranopia (green-blind)
#E1CC51
Tritanopia (blue-blind)
#DFC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf48;
/* rgb */ color: rgb(209, 207, 72);
/* oklch */ color: oklch(83.2% 0.153 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd82',
    500: '#d1cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf48;
$custom-light: #e2dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf48",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 59.124,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83172,
    "c": 0.15301,
    "h": 108.5
  },
  "luminance": 0.58649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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