#D6CF52#D6CF52

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

Color values

HEX#D6CF52
RGBrgb(214, 207, 82)
HSLhsl(57, 62%, 58%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 3.3%, 61.7%, 16.1%)
CIE-LABlab(81.58, -12.81, 61.07)
CIE-LCHlch(81.58, 62.40, 101.85°)
OKLaboklab(83.68% -0.0401 0.1392)
OKLCHoklch(83.68% 0.145 106.1)
XYZxyz(51.5691, 59.5327, 16.7555)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CF52 #5259D6
analogous
#D68D52 #D6CF52 #9BD652
triadic
#D6CF52 #52D6CF #CF52D6
tetradic
#D6CF52 #52D68D #5259D6 #D6529B
square
#D6CF52 #52D68D #5259D6 #D6529B
split-complementary
#D6CF52 #529BD6 #8D52D6
monochromatic
#8C8721 #BEB62D #D6CF52 #E2DD83 #EDEAB5

Accessibility & contrast

On white

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

On black

12.91
#D6CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CF52
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CF52#FFFFFF#000000##000000
##D6CF521.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6cf52;
/* rgb */ color: rgb(214, 207, 82);
/* oklch */ color: oklch(83.7% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e6dd88',
    500: '#d6cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d6cf52;
$custom-light: #e6dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cf52",
  "rgb": {
    "r": 214,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 56.818,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83682,
    "c": 0.14488,
    "h": 106.1
  },
  "luminance": 0.59531
}

Semantic roles & 50–950 ramp

primary
#D6CF52
secondary
#3A3F92
accent
#4CE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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