#DFD15F#DFD15F

#DFD15F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.0% C 0.135 H 102.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DFD15F
RGBrgb(223, 209, 95)
HSLhsl(53, 67%, 62%)
HSVhsv(53, 57%, 87%)
CMYKcmyk(0%, 6.3%, 57.4%, 12.5%)
CIE-LABlab(82.98, -9.21, 57.15)
CIE-LCHlch(82.98, 57.88, 99.15°)
OKLaboklab(85.01% -0.029 0.1323)
OKLCHoklch(85.01% 0.135 102.4)
XYZxyz(55.2994, 62.1172, 19.9012)
Luminance0.6211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD15F #5F6DDF
analogous
#DF915F #DFD15F #ADDF5F
triadic
#DFD15F #5FDFD1 #D15FDF
tetradic
#DFD15F #5FDF91 #5F6DDF #DF5FAD
square
#DFD15F #5FDF91 #5F6DDF #DF5FAD
split-complementary
#DFD15F #5FADDF #915FDF
monochromatic
#A39521 #D5C22C #DFD15F #E9E092 #F3EEC5

Accessibility & contrast

On white

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

On black

13.42
#DFD15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD15F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD15F#FFFFFF#000000##000000
##DFD15F1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E6D165
Tritanopia (blue-blind)
#EEC4B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd15f;
/* rgb */ color: rgb(223, 209, 95);
/* oklch */ color: oklch(85.0% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#ecde90',
    500: '#dfd15f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd15f;
$custom-light: #ecde90;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd15f",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 53.438,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85007,
    "c": 0.13548,
    "h": 102.4
  },
  "luminance": 0.62115
}

Semantic roles & 50–950 ramp

primary
#DFD15F
secondary
#3C48A6
accent
#2BCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD15F

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

Preview Lab → · Contrast checker → · Palette generator →

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