#DFD18C#DFD18C

#DFD18C is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.6% C 0.090 H 98.1°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DFD18C
RGBrgb(223, 209, 140)
HSLhsl(50, 56%, 71%)
HSVhsv(50, 37%, 87%)
CMYKcmyk(0%, 6.3%, 37.2%, 12.5%)
CIE-LABlab(83.54, -5.03, 36.00)
CIE-LCHlch(83.54, 36.35, 97.96°)
OKLaboklab(85.64% -0.0126 0.0887)
OKLCHoklch(85.64% 0.09 98.1)
XYZxyz(57.9665, 63.1840, 33.9481)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD18C #8C9ADF
analogous
#DFA78C #DFD18C #C3DF8C
triadic
#DFD18C #8CDFD1 #D18CDF
tetradic
#DFD18C #8CDFA7 #8C9ADF #DF8CC3
square
#DFD18C #8CDFA7 #8C9ADF #DF8CC3
split-complementary
#DFD18C #8CC3DF #A78CDF
monochromatic
#BCA534 #D2BE5C #DFD18C #ECE4BC #F8F5E7

Accessibility & contrast

On white

1.54
#DFD18C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#DFD18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD18C
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD18C#FFFFFF#000000##000000
##DFD18C1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD87
Deuteranopia (green-blind)
#E2D28F
Tritanopia (blue-blind)
#EBC7BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd18c;
/* rgb */ color: rgb(223, 209, 140);
/* oklch */ color: oklch(85.6% 0.090 98.1);
Tailwind
colors: {
  custom: {
    50: '#eadfae',
    500: '#dfd18c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd18c;
$custom-light: #eadfae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd18c",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 140
  },
  "hsl": {
    "h": 49.88,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85636,
    "c": 0.08964,
    "h": 98.1
  },
  "luminance": 0.63182
}

Semantic roles & 50–950 ramp

primary
#DFD18C
secondary
#5868B7
accent
#3DC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD18C

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

Preview Lab → · Contrast checker → · Palette generator →

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