#D1CF51#D1CF51

#D1CF51 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#D1CF51
RGBrgb(209, 207, 81)
HSLhsl(59, 58%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1%, 61.2%, 18%)
CIE-LABlab(81.17, -14.95, 60.93)
CIE-LCHlch(81.17, 62.73, 103.79°)
OKLaboklab(83.25% -0.046 0.1389)
OKLCHoklch(83.25% 0.146 108.3)
XYZxyz(50.0941, 58.7765, 16.4892)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF51 #5153D1
analogous
#D18F51 #D1CF51 #93D151
triadic
#D1CF51 #51D1CF #CF51D1
tetradic
#D1CF51 #51D18F #5153D1 #D15193
square
#D1CF51 #51D18F #5153D1 #D15193
split-complementary
#D1CF51 #5193D1 #8F51D1
monochromatic
#858323 #B5B330 #D1CF51 #DEDC81 #EBEAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CF51#FFFFFF#000000##000000
##D1CF511.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)
#DFC742
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#DFC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cf51;
/* rgb */ color: rgb(209, 207, 81);
/* oklch */ color: oklch(83.3% 0.146 108.3);
Tailwind
colors: {
  custom: {
    50: '#e2dd87',
    500: '#d1cf51',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf51;
$custom-light: #e2dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf51",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 59.063,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8325,
    "c": 0.14632,
    "h": 108.3
  },
  "luminance": 0.58775
}

Semantic roles & 50–950 ramp

primary
#D1CF51
secondary
#3B3C8B
accent
#49E146
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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