#DFC562#DFC562

#DFC562 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.6% C 0.123 H 94.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#DFC562
RGBrgb(223, 197, 98)
HSLhsl(48, 66%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 11.7%, 56.1%, 12.5%)
CIE-LABlab(79.90, -2.85, 52.25)
CIE-LCHlch(79.90, 52.33, 93.12°)
OKLaboklab(82.58% -0.0103 0.1221)
OKLCHoklch(82.58% 0.123 94.8)
XYZxyz(52.6043, 56.5047, 19.6885)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC562 #627CDF
analogous
#DF8662 #DFC562 #BADF62
triadic
#DFC562 #62DFC5 #C562DF
tetradic
#DFC562 #62DF86 #627CDF #DF62BA
square
#DFC562 #62DF86 #627CDF #DF62BA
split-complementary
#DFC562 #62BADF #8662DF
monochromatic
#A58A22 #D5B22F #DFC562 #E9D895 #F4EBC8

Accessibility & contrast

On white

1.71
#DFC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#DFC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC562
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC562#FFFFFF#000000##000000
##DFC5621.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#DDCA66
Tritanopia (blue-blind)
#EFB8AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc562;
/* rgb */ color: rgb(223, 197, 98);
/* oklch */ color: oklch(82.6% 0.123 94.8);
Tailwind
colors: {
  custom: {
    50: '#ecd691',
    500: '#dfc562',
    950: '#000000',
  },
}
SCSS
$custom: #dfc562;
$custom-light: #ecd691;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc562",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 47.52,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8258,
    "c": 0.12258,
    "h": 94.8
  },
  "luminance": 0.56502
}

Semantic roles & 50–950 ramp

primary
#DFC562
secondary
#3E54A8
accent
#3DCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC562

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

Preview Lab → · Contrast checker → · Palette generator →

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