#DFD173#DFD173

#DFD173 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.117 H 100.9°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#DFD173
RGBrgb(223, 209, 115)
HSLhsl(52, 63%, 66%)
HSVhsv(52, 48%, 87%)
CMYKcmyk(0%, 6.3%, 48.4%, 12.5%)
CIE-LABlab(83.19, -7.58, 48.04)
CIE-LCHlch(83.19, 48.63, 98.96°)
OKLaboklab(85.25% -0.0221 0.1145)
OKLCHoklch(85.25% 0.117 100.9)
XYZxyz(56.3280, 62.5286, 25.3184)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD173 #7381DF
analogous
#DF9B73 #DFD173 #B7DF73
triadic
#DFD173 #73DFD1 #D173DF
tetradic
#DFD173 #73DF9B #7381DF #DF73B7
square
#DFD173 #73DF9B #7381DF #DF73B7
split-complementary
#DFD173 #73B7DF #9B73DF
monochromatic
#AF9E28 #D4C141 #DFD173 #EAE1A5 #F6F2D7

Accessibility & contrast

On white

1.55
#DFD173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#DFD173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD173
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD173#FFFFFF#000000##000000
##DFD1731.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6B
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#EDC5BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd173;
/* rgb */ color: rgb(223, 209, 115);
/* oklch */ color: oklch(85.3% 0.117 100.9);
Tailwind
colors: {
  custom: {
    50: '#ebde9d',
    500: '#dfd173',
    950: '#000000',
  },
}
SCSS
$custom: #dfd173;
$custom-light: #ebde9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd173",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 52.222,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85251,
    "c": 0.11663,
    "h": 100.9
  },
  "luminance": 0.62527
}

Semantic roles & 50–950 ramp

primary
#DFD173
secondary
#4553B1
accent
#32CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD173

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

Preview Lab → · Contrast checker → · Palette generator →

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