#D2CF56#D2CF56

#D2CF56 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.142 H 107.8°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D2CF56
RGBrgb(210, 207, 86)
HSLhsl(59, 58%, 58%)
HSVhsv(59, 59%, 82%)
CMYKcmyk(0%, 1.4%, 59%, 17.6%)
CIE-LABlab(81.29, -14.20, 58.95)
CIE-LCHlch(81.29, 60.64, 103.54°)
OKLaboklab(83.38% -0.0434 0.1353)
OKLCHoklch(83.38% 0.142 107.8)
XYZxyz(50.5724, 59.0007, 17.5266)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF56 #5659D2
analogous
#D29156 #D2CF56 #97D256
triadic
#D2CF56 #56D2CF #CF56D2
tetradic
#D2CF56 #56D291 #5659D2 #D25697
square
#D2CF56 #56D291 #5659D2 #D25697
split-complementary
#D2CF56 #5697D2 #9156D2
monochromatic
#898725 #B9B631 #D2CF56 #DFDD86 #ECEAB7

Accessibility & contrast

On white

1.64
#D2CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D2CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF56
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF56#FFFFFF#000000##000000
##D2CF561.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC748
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf56;
/* rgb */ color: rgb(210, 207, 86);
/* oklch */ color: oklch(83.4% 0.142 107.8);
Tailwind
colors: {
  custom: {
    50: '#e3dd8a',
    500: '#d2cf56',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf56;
$custom-light: #e3dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf56",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 58.548,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83382,
    "c": 0.14213,
    "h": 107.8
  },
  "luminance": 0.58999
}

Semantic roles & 50–950 ramp

primary
#D2CF56
secondary
#3D3F90
accent
#4AE147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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