#DFD15D#DFD15D

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

Color values

HEX#DFD15D
RGBrgb(223, 209, 93)
HSLhsl(54, 67%, 62%)
HSVhsv(54, 58%, 87%)
CMYKcmyk(0%, 6.3%, 58.3%, 12.5%)
CIE-LABlab(82.96, -9.35, 58.02)
CIE-LCHlch(82.96, 58.77, 99.16°)
OKLaboklab(84.99% -0.0296 0.134)
OKLCHoklch(84.99% 0.137 102.5)
XYZxyz(55.2096, 62.0813, 19.4285)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD15D #5D6BDF
analogous
#DF905D #DFD15D #ACDF5D
triadic
#DFD15D #5DDFD1 #D15DDF
tetradic
#DFD15D #5DDF90 #5D6BDF #DF5DAC
square
#DFD15D #5DDF90 #5D6BDF #DF5DAC
split-complementary
#DFD15D #5DACDF #905DDF
monochromatic
#A29420 #D5C22A #DFD15D #E9E090 #F3EEC3

Accessibility & contrast

On white

1.57
#DFD15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD15D#FFFFFF#000000##000000
##DFD15D1.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd15d;
/* rgb */ color: rgb(223, 209, 93);
/* oklch */ color: oklch(85.0% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#ecde8f',
    500: '#dfd15d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd15d;
$custom-light: #ecde8f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd15d",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 53.538,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84986,
    "c": 0.1372,
    "h": 102.5
  },
  "luminance": 0.62079
}

Semantic roles & 50–950 ramp

primary
#DFD15D
secondary
#3C47A5
accent
#2ACF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD15D

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

Preview Lab → · Contrast checker → · Palette generator →

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