#DFCD52#DFCD52

#DFCD52 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.143 H 101.0°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#DFCD52
RGBrgb(223, 205, 82)
HSLhsl(52, 69%, 60%)
HSVhsv(52, 63%, 87%)
CMYKcmyk(0%, 8.1%, 63.2%, 12.5%)
CIE-LABlab(81.82, -8.05, 61.55)
CIE-LCHlch(81.82, 62.07, 97.46°)
OKLaboklab(84.05% -0.0271 0.14)
OKLCHoklch(84.05% 0.143 101)
XYZxyz(53.7879, 59.9621, 16.7216)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD52 #5264DF
analogous
#DF8652 #DFCD52 #ABDF52
triadic
#DFCD52 #52DFCD #CD52DF
tetradic
#DFCD52 #52DF86 #5264DF #DF52AB
square
#DFCD52 #52DF86 #5264DF #DF52AB
split-complementary
#DFCD52 #52ABDF #8652DF
monochromatic
#9A8A1D #CEB826 #DFCD52 #E9DC86 #F2EBB9

Accessibility & contrast

On white

1.62
#DFCD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#DFCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD52
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD52#FFFFFF#000000##000000
##DFCD521.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#EFBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcd52;
/* rgb */ color: rgb(223, 205, 82);
/* oklch */ color: oklch(84.0% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#ecdb88',
    500: '#dfcd52',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd52;
$custom-light: #ecdb88;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd52",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 52.34,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8405,
    "c": 0.1426,
    "h": 101
  },
  "luminance": 0.5996
}

Semantic roles & 50–950 ramp

primary
#DFCD52
secondary
#37449E
accent
#53EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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