#DFDA52#DFDA52

#DFDA52 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.155 H 107.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DFDA52
RGBrgb(223, 218, 82)
HSLhsl(58, 69%, 60%)
HSVhsv(58, 63%, 87%)
CMYKcmyk(0%, 2.2%, 63.2%, 12.5%)
CIE-LABlab(85.22, -14.58, 65.16)
CIE-LCHlch(85.22, 66.77, 102.62°)
OKLaboklab(86.76% -0.0457 0.1476)
OKLCHoklch(86.76% 0.155 107.2)
XYZxyz(57.0278, 66.4418, 17.8015)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA52 #5257DF
analogous
#DF9352 #DFDA52 #9EDF52
triadic
#DFDA52 #52DFDA #DA52DF
tetradic
#DFDA52 #52DF93 #5257DF #DF529E
square
#DFDA52 #52DF93 #5257DF #DF529E
split-complementary
#DFDA52 #529EDF #9352DF
monochromatic
#9A961D #CEC826 #DFDA52 #E9E586 #F2F0B9

Accessibility & contrast

On white

1.47
#DFDA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#DFDA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA52
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA52#FFFFFF#000000##000000
##DFDA521.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD241
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#EECDBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfda52;
/* rgb */ color: rgb(223, 218, 82);
/* oklch */ color: oklch(86.8% 0.155 107.2);
Tailwind
colors: {
  custom: {
    50: '#ece589',
    500: '#dfda52',
    950: '#000000',
  },
}
SCSS
$custom: #dfda52;
$custom-light: #ece589;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda52",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 57.872,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86757,
    "c": 0.15454,
    "h": 107.2
  },
  "luminance": 0.6644
}

Semantic roles & 50–950 ramp

primary
#DFDA52
secondary
#373B9E
accent
#42EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDA52

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

Preview Lab → · Contrast checker → · Palette generator →

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