#D5CF52#D5CF52

#D5CF52 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.145 H 106.5°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D5CF52
RGBrgb(213, 207, 82)
HSLhsl(57, 61%, 58%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 2.8%, 61.5%, 16.5%)
CIE-LABlab(81.50, -13.23, 60.96)
CIE-LCHlch(81.50, 62.38, 102.24°)
OKLaboklab(83.6% -0.0413 0.139)
OKLCHoklch(83.6% 0.145 106.5)
XYZxyz(51.2781, 59.3826, 16.7419)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF52 #5258D5
analogous
#D58D52 #D5CF52 #99D552
triadic
#D5CF52 #52D5CF #CF52D5
tetradic
#D5CF52 #52D58D #5258D5 #D55299
square
#D5CF52 #52D58D #5258D5 #D55299
split-complementary
#D5CF52 #5299D5 #8D52D5
monochromatic
#8B8622 #BCB62E #D5CF52 #E1DD83 #EDEAB4

Accessibility & contrast

On white

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

On black

12.88
#D5CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF52
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF52#FFFFFF#000000##000000
##D5CF521.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC843
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#E4C2B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf52;
/* rgb */ color: rgb(213, 207, 82);
/* oklch */ color: oklch(83.6% 0.145 106.5);
Tailwind
colors: {
  custom: {
    50: '#e5dd88',
    500: '#d5cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf52;
$custom-light: #e5dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf52",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 57.252,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83597,
    "c": 0.145,
    "h": 106.5
  },
  "luminance": 0.59381
}

Semantic roles & 50–950 ramp

primary
#D5CF52
secondary
#3A3E91
accent
#4BE444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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