#DFC662#DFC662

#DFC662 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.8% C 0.123 H 95.5°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DFC662
RGBrgb(223, 198, 98)
HSLhsl(48, 66%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 11.2%, 56.1%, 12.5%)
CIE-LABlab(80.16, -3.36, 52.55)
CIE-LCHlch(80.16, 52.65, 93.66°)
OKLaboklab(82.78% -0.0118 0.1228)
OKLCHoklch(82.78% 0.123 95.5)
XYZxyz(52.8322, 56.9604, 19.7645)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC662 #627BDF
analogous
#DF8762 #DFC662 #B9DF62
triadic
#DFC662 #62DFC6 #C662DF
tetradic
#DFC662 #62DF87 #627BDF #DF62B9
square
#DFC662 #62DF87 #627BDF #DF62B9
split-complementary
#DFC662 #62B9DF #8762DF
monochromatic
#A58B22 #D5B42F #DFC662 #E9D895 #F4EBC8

Accessibility & contrast

On white

1.69
#DFC662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#DFC662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC662
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC662#FFFFFF#000000##000000
##DFC6621.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DECA66
Tritanopia (blue-blind)
#EFB9AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc662;
/* rgb */ color: rgb(223, 198, 98);
/* oklch */ color: oklch(82.8% 0.123 95.5);
Tailwind
colors: {
  custom: {
    50: '#ecd791',
    500: '#dfc662',
    950: '#000000',
  },
}
SCSS
$custom: #dfc662;
$custom-light: #ecd791;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc662",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 48,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82783,
    "c": 0.12335,
    "h": 95.5
  },
  "luminance": 0.56958
}

Semantic roles & 50–950 ramp

primary
#DFC662
secondary
#3E53A8
accent
#3CCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC662

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

Preview Lab → · Contrast checker → · Palette generator →

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