#DFD85D#DFD85D

#DFD85D is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.144 H 106.0°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DFD85D
RGBrgb(223, 216, 93)
HSLhsl(57, 67%, 62%)
HSVhsv(57, 58%, 87%)
CMYKcmyk(0%, 3.1%, 58.3%, 12.5%)
CIE-LABlab(84.79, -12.87, 60.06)
CIE-LCHlch(84.79, 61.42, 102.10°)
OKLaboklab(86.44% -0.0396 0.1383)
OKLCHoklch(86.44% 0.144 106)
XYZxyz(56.9649, 65.5918, 20.0136)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD85D #5D64DF
analogous
#DF975D #DFD85D #A5DF5D
triadic
#DFD85D #5DDFD8 #D85DDF
tetradic
#DFD85D #5DDF97 #5D64DF #DF5DA5
square
#DFD85D #5DDF97 #5D64DF #DF5DA5
split-complementary
#DFD85D #5DA5DF #975DDF
monochromatic
#A29B20 #D5CC2A #DFD85D #E9E490 #F3F1C3

Accessibility & contrast

On white

1.49
#DFD85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#DFD85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD85D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD85D#FFFFFF#000000##000000
##DFD85D1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D150
Deuteranopia (green-blind)
#ECD664
Tritanopia (blue-blind)
#EECBBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd85d;
/* rgb */ color: rgb(223, 216, 93);
/* oklch */ color: oklch(86.4% 0.144 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece38f',
    500: '#dfd85d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd85d;
$custom-light: #ece38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd85d",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 93
  },
  "hsl": {
    "h": 56.769,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86442,
    "c": 0.14388,
    "h": 106
  },
  "luminance": 0.6559
}

Semantic roles & 50–950 ramp

primary
#DFD85D
secondary
#3C41A5
accent
#21CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD85D

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

Preview Lab → · Contrast checker → · Palette generator →

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