#DFD168#DFD168

#DFD168 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.127 H 101.8°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DFD168
RGBrgb(223, 209, 104)
HSLhsl(53, 65%, 64%)
HSVhsv(53, 53%, 87%)
CMYKcmyk(0%, 6.3%, 53.4%, 12.5%)
CIE-LABlab(83.07, -8.52, 53.13)
CIE-LCHlch(83.07, 53.80, 99.11°)
OKLaboklab(85.11% -0.026 0.1247)
OKLCHoklch(85.11% 0.127 101.8)
XYZxyz(55.7324, 62.2904, 22.1815)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD168 #6876DF
analogous
#DF9668 #DFD168 #B2DF68
triadic
#DFD168 #68DFD1 #D168DF
tetradic
#DFD168 #68DF96 #6876DF #DF68B2
square
#DFD168 #68DF96 #6876DF #DF68B2
split-complementary
#DFD168 #68B2DF #9668DF
monochromatic
#A99924 #D4C236 #DFD168 #EAE09B #F4F0CD

Accessibility & contrast

On white

1.56
#DFD168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DFD168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD168
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD168#FFFFFF#000000##000000
##DFD1681.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5E
Deuteranopia (green-blind)
#E6D26D
Tritanopia (blue-blind)
#EEC5B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd168;
/* rgb */ color: rgb(223, 209, 104);
/* oklch */ color: oklch(85.1% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#ebde96',
    500: '#dfd168',
    950: '#000000',
  },
}
SCSS
$custom: #dfd168;
$custom-light: #ebde96;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd168",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 52.941,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8511,
    "c": 0.12734,
    "h": 101.8
  },
  "luminance": 0.62288
}

Semantic roles & 50–950 ramp

primary
#DFD168
secondary
#404DAB
accent
#2ECD19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #DFD168

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

Preview Lab → · Contrast checker → · Palette generator →

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