#DFC652#DFC652

#DFC652 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.137 H 97.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#DFC652
RGBrgb(223, 198, 82)
HSLhsl(49, 69%, 60%)
HSVhsv(49, 63%, 87%)
CMYKcmyk(0%, 11.2%, 63.2%, 12.5%)
CIE-LABlab(80.00, -4.48, 59.60)
CIE-LCHlch(80.00, 59.77, 94.29°)
OKLaboklab(82.61% -0.0169 0.1359)
OKLCHoklch(82.61% 0.137 97.1)
XYZxyz(52.1508, 56.6878, 16.1759)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC652 #526BDF
analogous
#DF8052 #DFC652 #B1DF52
triadic
#DFC652 #52DFC6 #C652DF
tetradic
#DFC652 #52DF80 #526BDF #DF52B1
square
#DFC652 #52DF80 #526BDF #DF52B1
split-complementary
#DFC652 #52B1DF #8052DF
monochromatic
#9A841D #CEB026 #DFC652 #E9D786 #F2E8B9

Accessibility & contrast

On white

1.70
#DFC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#DFC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC652
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC652#FFFFFF#000000##000000
##DFC6521.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C245
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#F0B8AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc652;
/* rgb */ color: rgb(223, 198, 82);
/* oklch */ color: oklch(82.6% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#ecd787',
    500: '#dfc652',
    950: '#000000',
  },
}
SCSS
$custom: #dfc652;
$custom-light: #ecd787;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc652",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 49.362,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82612,
    "c": 0.1369,
    "h": 97.1
  },
  "luminance": 0.56685
}

Semantic roles & 50–950 ramp

primary
#DFC652
secondary
#37499E
accent
#5BEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC652

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

Preview Lab → · Contrast checker → · Palette generator →

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