#D6CF51#D6CF51

#D6CF51 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.146 H 106.1°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D6CF51
RGBrgb(214, 207, 81)
HSLhsl(57, 62%, 58%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 3.3%, 62.1%, 16.1%)
CIE-LABlab(81.58, -12.88, 61.48)
CIE-LCHlch(81.58, 62.82, 101.83°)
OKLaboklab(83.67% -0.0404 0.1399)
OKLCHoklch(83.67% 0.146 106.1)
XYZxyz(51.5314, 59.5176, 16.5566)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CF51 #5158D6
analogous
#D68C51 #D6CF51 #9AD651
triadic
#D6CF51 #51D6CF #CF51D6
tetradic
#D6CF51 #51D68C #5158D6 #D6519A
square
#D6CF51 #51D68C #5158D6 #D6519A
split-complementary
#D6CF51 #519AD6 #8C51D6
monochromatic
#8C8621 #BDB62D #D6CF51 #E2DD83 #EDEAB4

Accessibility & contrast

On white

1.63
#D6CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D6CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CF51
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CF51#FFFFFF#000000##000000
##D6CF511.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#E5C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d6cf51;
/* rgb */ color: rgb(214, 207, 81);
/* oklch */ color: oklch(83.7% 0.146 106.1);
Tailwind
colors: {
  custom: {
    50: '#e6dd87',
    500: '#d6cf51',
    950: '#000000',
  },
}
SCSS
$custom: #d6cf51;
$custom-light: #e6dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cf51",
  "rgb": {
    "r": 214,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 56.842,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83673,
    "c": 0.14567,
    "h": 106.1
  },
  "luminance": 0.59516
}

Semantic roles & 50–950 ramp

primary
#D6CF51
secondary
#3A3E92
accent
#4BE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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