#D8CF53#D8CF53

#D8CF53 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.144 H 105.2°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D8CF53
RGBrgb(216, 207, 83)
HSLhsl(56, 63%, 59%)
HSVhsv(56, 62%, 85%)
CMYKcmyk(0%, 4.2%, 61.6%, 15.3%)
CIE-LABlab(81.76, -11.92, 60.88)
CIE-LCHlch(81.76, 62.04, 101.08°)
OKLaboklab(83.86% -0.0376 0.1389)
OKLCHoklch(83.86% 0.144 105.2)
XYZxyz(52.1949, 59.8509, 16.9849)
Luminance0.5985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF53 #535CD8
analogous
#D88C53 #D8CF53 #9ED853
triadic
#D8CF53 #53D8CF #CF53D8
tetradic
#D8CF53 #53D88C #535CD8 #D8539E
square
#D8CF53 #53D88C #535CD8 #D8539E
split-complementary
#D8CF53 #539ED8 #8C53D8
monochromatic
#908821 #C2B82C #D8CF53 #E3DD85 #EFEBB7

Accessibility & contrast

On white

1.62
#D8CF53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D8CF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF53
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF53#FFFFFF#000000##000000
##D8CF531.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C844
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#E7C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf53;
/* rgb */ color: rgb(216, 207, 83);
/* oklch */ color: oklch(83.9% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#e7dd89',
    500: '#d8cf53',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf53;
$custom-light: #e7dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf53",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 83
  },
  "hsl": {
    "h": 55.94,
    "s": 63.033,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83863,
    "c": 0.1439,
    "h": 105.2
  },
  "luminance": 0.59849
}

Semantic roles & 50–950 ramp

primary
#D8CF53
secondary
#3A4095
accent
#4DE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CF53

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

Preview Lab → · Contrast checker → · Palette generator →

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