#D1CF5D#D1CF5D

#D1CF5D is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.136 H 108.1°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D1CF5D
RGBrgb(209, 207, 93)
HSLhsl(59, 56%, 59%)
HSVhsv(59, 56%, 82%)
CMYKcmyk(0%, 1%, 55.5%, 18%)
CIE-LABlab(81.28, -14.10, 55.82)
CIE-LCHlch(81.28, 57.57, 104.18°)
OKLaboklab(83.37% -0.0423 0.1295)
OKLCHoklch(83.37% 0.136 108.1)
XYZxyz(50.5845, 58.9727, 19.0720)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF5D #5D5FD1
analogous
#D1955D #D1CF5D #99D15D
triadic
#D1CF5D #5DD1CF #CF5DD1
tetradic
#D1CF5D #5DD195 #5D5FD1 #D15D99
square
#D1CF5D #5DD195 #5D5FD1 #D15D99
split-complementary
#D1CF5D #5D99D1 #955DD1
monochromatic
#8C8A28 #BCB935 #D1CF5D #DFDD8D #ECEBBC

Accessibility & contrast

On white

1.64
#D1CF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D1CF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF5D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF5D#FFFFFF#000000##000000
##D1CF5D1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC851
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#DEC3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cf5d;
/* rgb */ color: rgb(209, 207, 93);
/* oklch */ color: oklch(83.4% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#e2dd8f',
    500: '#d1cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf5d;
$custom-light: #e2dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf5d",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 58.966,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83371,
    "c": 0.13627,
    "h": 108.1
  },
  "luminance": 0.58971
}

Semantic roles & 50–950 ramp

primary
#D1CF5D
secondary
#404192
accent
#4BDF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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