#D3CF52#D3CF52

#D3CF52 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.145 H 107.4°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D3CF52
RGBrgb(211, 207, 82)
HSLhsl(58, 59%, 57%)
HSVhsv(58, 61%, 83%)
CMYKcmyk(0%, 1.9%, 61.1%, 17.3%)
CIE-LABlab(81.34, -14.06, 60.74)
CIE-LCHlch(81.34, 62.34, 103.03°)
OKLaboklab(83.43% -0.0435 0.1386)
OKLCHoklch(83.43% 0.145 107.4)
XYZxyz(50.7014, 59.0853, 16.7148)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF52 #5256D3
analogous
#D38F52 #D3CF52 #96D352
triadic
#D3CF52 #52D3CF #CF52D3
tetradic
#D3CF52 #52D38F #5256D3 #D35296
square
#D3CF52 #52D38F #5256D3 #D35296
split-complementary
#D3CF52 #5296D3 #8F52D3
monochromatic
#888523 #B9B52F #D3CF52 #DFDD83 #ECEAB4

Accessibility & contrast

On white

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

On black

12.82
#D3CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF52
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF52#FFFFFF#000000##000000
##D3CF521.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E2CC59
Tritanopia (blue-blind)
#E1C2B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf52;
/* rgb */ color: rgb(211, 207, 82);
/* oklch */ color: oklch(83.4% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3dd88',
    500: '#d3cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf52;
$custom-light: #e3dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf52",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 58.14,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83428,
    "c": 0.14524,
    "h": 107.4
  },
  "luminance": 0.59084
}

Semantic roles & 50–950 ramp

primary
#D3CF52
secondary
#3B3D8E
accent
#4AE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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