#D1CF52#D1CF52

#D1CF52 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.146 H 108.3°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D1CF52
RGBrgb(209, 207, 82)
HSLhsl(59, 58%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1%, 60.8%, 18%)
CIE-LABlab(81.18, -14.88, 60.51)
CIE-LCHlch(81.18, 62.32, 103.82°)
OKLaboklab(83.26% -0.0457 0.1382)
OKLCHoklch(83.26% 0.146 108.3)
XYZxyz(50.1319, 58.7916, 16.6881)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF52 #5254D1
analogous
#D19052 #D1CF52 #94D152
triadic
#D1CF52 #52D1CF #CF52D1
tetradic
#D1CF52 #52D190 #5254D1 #D15294
square
#D1CF52 #52D190 #5254D1 #D15294
split-complementary
#D1CF52 #5294D1 #9052D1
monochromatic
#858423 #B6B330 #D1CF52 #DEDC82 #EBEAB3

Accessibility & contrast

On white

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

On black

12.76
#D1CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF52
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF52#FFFFFF#000000##000000
##D1CF521.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#DFC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cf52;
/* rgb */ color: rgb(209, 207, 82);
/* oklch */ color: oklch(83.3% 0.146 108.3);
Tailwind
colors: {
  custom: {
    50: '#e2dd88',
    500: '#d1cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf52;
$custom-light: #e2dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf52",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 59.055,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8326,
    "c": 0.14552,
    "h": 108.3
  },
  "luminance": 0.5879
}

Semantic roles & 50–950 ramp

primary
#D1CF52
secondary
#3B3C8C
accent
#49E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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