#DFD85C#DFD85C

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

Color values

HEX#DFD85C
RGBrgb(223, 216, 92)
HSLhsl(57, 67%, 62%)
HSVhsv(57, 59%, 87%)
CMYKcmyk(0%, 3.1%, 58.7%, 12.5%)
CIE-LABlab(84.78, -12.94, 60.48)
CIE-LCHlch(84.78, 61.85, 102.08°)
OKLaboklab(86.43% -0.04 0.1391)
OKLCHoklch(86.43% 0.145 106)
XYZxyz(56.9209, 65.5742, 19.7819)
Luminance0.6557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD85C #5C63DF
analogous
#DF975C #DFD85C #A5DF5C
triadic
#DFD85C #5CDFD8 #D85CDF
tetradic
#DFD85C #5CDF97 #5C63DF #DF5CA5
square
#DFD85C #5CDF97 #5C63DF #DF5CA5
split-complementary
#DFD85C #5CA5DF #975CDF
monochromatic
#A19A20 #D4CB2A #DFD85C #E9E48F #F3F0C2

Accessibility & contrast

On white

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

On black

14.11
#DFD85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD85C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD85C#FFFFFF#000000##000000
##DFD85C1.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd85c;
/* rgb */ color: rgb(223, 216, 92);
/* oklch */ color: oklch(86.4% 0.145 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece38f',
    500: '#dfd85c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd85c;
$custom-light: #ece38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd85c",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 56.794,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86432,
    "c": 0.14472,
    "h": 106
  },
  "luminance": 0.65572
}

Semantic roles & 50–950 ramp

primary
#DFD85C
secondary
#3B41A4
accent
#20CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD85C

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

Preview Lab → · Contrast checker → · Palette generator →

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