#DFD662#DFD662

#DFD662 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.1% C 0.138 H 104.8°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DFD662
RGBrgb(223, 214, 98)
HSLhsl(56, 66%, 63%)
HSVhsv(56, 56%, 87%)
CMYKcmyk(0%, 4%, 56.1%, 12.5%)
CIE-LABlab(84.31, -11.51, 57.31)
CIE-LCHlch(84.31, 58.45, 101.35°)
OKLaboklab(86.08% -0.0352 0.133)
OKLCHoklch(86.08% 0.138 104.8)
XYZxyz(56.6844, 64.6648, 21.0486)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD662 #626BDF
analogous
#DF9762 #DFD662 #A9DF62
triadic
#DFD662 #62DFD6 #D662DF
tetradic
#DFD662 #62DF97 #626BDF #DF62A9
square
#DFD662 #62DF97 #626BDF #DF62A9
split-complementary
#DFD662 #62A9DF #9762DF
monochromatic
#A59C22 #D5C92F #DFD662 #E9E395 #F4F1C8

Accessibility & contrast

On white

1.51
#DFD662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DFD662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD662
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD662#FFFFFF#000000##000000
##DFD6621.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#EEC9BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd662;
/* rgb */ color: rgb(223, 214, 98);
/* oklch */ color: oklch(86.1% 0.138 104.8);
Tailwind
colors: {
  custom: {
    50: '#ece292',
    500: '#dfd662',
    950: '#000000',
  },
}
SCSS
$custom: #dfd662;
$custom-light: #ece292;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd662",
  "rgb": {
    "r": 223,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 55.68,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86077,
    "c": 0.13761,
    "h": 104.8
  },
  "luminance": 0.64663
}

Semantic roles & 50–950 ramp

primary
#DFD662
secondary
#3E45A8
accent
#25CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD662

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

Preview Lab → · Contrast checker → · Palette generator →

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