#DFD052#DFD052

#DFD052 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.145 H 102.5°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#DFD052
RGBrgb(223, 208, 82)
HSLhsl(54, 69%, 60%)
HSVhsv(54, 63%, 87%)
CMYKcmyk(0%, 6.7%, 63.2%, 12.5%)
CIE-LABlab(82.60, -9.58, 62.38)
CIE-LCHlch(82.60, 63.11, 98.73°)
OKLaboklab(84.67% -0.0315 0.1417)
OKLCHoklch(84.67% 0.145 102.5)
XYZxyz(54.5124, 61.4111, 16.9631)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD052 #5261DF
analogous
#DF8A52 #DFD052 #A8DF52
triadic
#DFD052 #52DFD0 #D052DF
tetradic
#DFD052 #52DF8A #5261DF #DF52A8
square
#DFD052 #52DF8A #5261DF #DF52A8
split-complementary
#DFD052 #52A8DF #8A52DF
monochromatic
#9A8D1D #CEBC26 #DFD052 #E9DE86 #F2ECB9

Accessibility & contrast

On white

1.58
#DFD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#DFD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD052
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD052#FFFFFF#000000##000000
##DFD0521.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E6D159
Tritanopia (blue-blind)
#EFC2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd052;
/* rgb */ color: rgb(223, 208, 82);
/* oklch */ color: oklch(84.7% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#ecde88',
    500: '#dfd052',
    950: '#000000',
  },
}
SCSS
$custom: #dfd052;
$custom-light: #ecde88;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd052",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 53.617,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84671,
    "c": 0.1452,
    "h": 102.5
  },
  "luminance": 0.61409
}

Semantic roles & 50–950 ramp

primary
#DFD052
secondary
#37429E
accent
#4FEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD052

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

Preview Lab → · Contrast checker → · Palette generator →

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