#DFCA52#DFCA52

#DFCA52 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.140 H 99.4°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DFCA52
RGBrgb(223, 202, 82)
HSLhsl(51, 69%, 60%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9.4%, 63.2%, 12.5%)
CIE-LABlab(81.04, -6.53, 60.71)
CIE-LCHlch(81.04, 61.06, 96.14°)
OKLaboklab(83.43% -0.0228 0.1382)
OKLCHoklch(83.43% 0.14 99.4)
XYZxyz(53.0772, 58.5406, 16.4847)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA52 #5267DF
analogous
#DF8452 #DFCA52 #ADDF52
triadic
#DFCA52 #52DFCA #CA52DF
tetradic
#DFCA52 #52DF84 #5267DF #DF52AD
square
#DFCA52 #52DF84 #5267DF #DF52AD
split-complementary
#DFCA52 #52ADDF #8452DF
monochromatic
#9A871D #CEB526 #DFCA52 #E9DA86 #F2EAB9

Accessibility & contrast

On white

1.65
#DFCA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#DFCA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA52
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA52#FFFFFF#000000##000000
##DFCA521.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC544
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#EFBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca52;
/* rgb */ color: rgb(223, 202, 82);
/* oklch */ color: oklch(83.4% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#ecd988',
    500: '#dfca52',
    950: '#000000',
  },
}
SCSS
$custom: #dfca52;
$custom-light: #ecd988;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca52",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 51.064,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83432,
    "c": 0.14008,
    "h": 99.4
  },
  "luminance": 0.58538
}

Semantic roles & 50–950 ramp

primary
#DFCA52
secondary
#37479E
accent
#56EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA52

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

Preview Lab → · Contrast checker → · Palette generator →

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