#D8CF46#D8CF46

#D8CF46 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.153 H 105.6°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D8CF46
RGBrgb(216, 207, 70)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 68%, 85%)
CMYKcmyk(0%, 4.2%, 67.6%, 15.3%)
CIE-LABlab(81.66, -12.68, 66.04)
CIE-LCHlch(81.66, 67.25, 100.87°)
OKLaboklab(83.75% -0.0412 0.1478)
OKLCHoklch(83.75% 0.153 105.6)
XYZxyz(51.7392, 59.6686, 14.5850)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF46 #464FD8
analogous
#D88646 #D8CF46 #98D846
triadic
#D8CF46 #46D8CF #CF46D8
tetradic
#D8CF46 #46D886 #464FD8 #D84698
square
#D8CF46 #46D886 #464FD8 #D84698
split-complementary
#D8CF46 #4698D8 #8646D8
monochromatic
#87811C #BAB127 #D8CF46 #E3DC79 #EDE9AB

Accessibility & contrast

On white

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

On black

12.93
#D8CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF46
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF46#FFFFFF#000000##000000
##D8CF461.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C832
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#E8C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf46;
/* rgb */ color: rgb(216, 207, 70);
/* oklch */ color: oklch(83.8% 0.153 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8dd81',
    500: '#d8cf46',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf46;
$custom-light: #e8dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf46",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 56.301,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83752,
    "c": 0.15345,
    "h": 105.6
  },
  "luminance": 0.59667
}

Semantic roles & 50–950 ramp

primary
#D8CF46
secondary
#353A8D
accent
#4AE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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