#D9CF56#D9CF56

#D9CF56 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.141 H 104.6°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D9CF56
RGBrgb(217, 207, 86)
HSLhsl(55, 63%, 59%)
HSVhsv(55, 60%, 85%)
CMYKcmyk(0%, 4.6%, 60.4%, 14.9%)
CIE-LABlab(81.87, -11.31, 59.74)
CIE-LCHlch(81.87, 60.80, 100.72°)
OKLaboklab(83.98% -0.0356 0.1369)
OKLCHoklch(83.98% 0.141 104.6)
XYZxyz(52.6096, 60.0511, 17.6221)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF56 #5660D9
analogous
#D98E56 #D9CF56 #A2D956
triadic
#D9CF56 #56D9CF #CF56D9
tetradic
#D9CF56 #56D98E #5660D9 #D956A2
square
#D9CF56 #56D98E #5660D9 #D956A2
split-complementary
#D9CF56 #56A2D9 #8E56D9
monochromatic
#938B21 #C5BA2C #D9CF56 #E4DD88 #EFEBBA

Accessibility & contrast

On white

1.61
#D9CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D9CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF56
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF56#FFFFFF#000000##000000
##D9CF561.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C848
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#E8C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf56;
/* rgb */ color: rgb(217, 207, 86);
/* oklch */ color: oklch(84.0% 0.141 104.6);
Tailwind
colors: {
  custom: {
    50: '#e8dd8a',
    500: '#d9cf56',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf56;
$custom-light: #e8dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf56",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 55.42,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83978,
    "c": 0.14143,
    "h": 104.6
  },
  "luminance": 0.60049
}

Semantic roles & 50–950 ramp

primary
#D9CF56
secondary
#3B4298
accent
#4EE641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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