#DFD85F#DFD85F

#DFD85F is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.142 H 105.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DFD85F
RGBrgb(223, 216, 95)
HSLhsl(57, 67%, 62%)
HSVhsv(57, 57%, 87%)
CMYKcmyk(0%, 3.1%, 57.4%, 12.5%)
CIE-LABlab(84.81, -12.73, 59.20)
CIE-LCHlch(84.81, 60.55, 102.13°)
OKLaboklab(86.46% -0.039 0.1367)
OKLCHoklch(86.46% 0.142 105.9)
XYZxyz(57.0547, 65.6277, 20.4862)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD85F #5F66DF
analogous
#DF985F #DFD85F #A6DF5F
triadic
#DFD85F #5FDFD8 #D85FDF
tetradic
#DFD85F #5FDF98 #5F66DF #DF5FA6
square
#DFD85F #5FDF98 #5F66DF #DF5FA6
split-complementary
#DFD85F #5FA6DF #985FDF
monochromatic
#A39C21 #D5CC2C #DFD85F #E9E492 #F3F1C5

Accessibility & contrast

On white

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

On black

14.13
#DFD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD85F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD85F#FFFFFF#000000##000000
##DFD85F1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#EECBBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd85f;
/* rgb */ color: rgb(223, 216, 95);
/* oklch */ color: oklch(86.5% 0.142 105.9);
Tailwind
colors: {
  custom: {
    50: '#ece391',
    500: '#dfd85f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd85f;
$custom-light: #ece391;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd85f",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 56.719,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86462,
    "c": 0.14219,
    "h": 105.9
  },
  "luminance": 0.65626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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