#DFD18D#DFD18D

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

Color values

HEX#DFD18D
RGBrgb(223, 209, 141)
HSLhsl(50, 56%, 71%)
HSVhsv(50, 37%, 87%)
CMYKcmyk(0%, 6.3%, 36.8%, 12.5%)
CIE-LABlab(83.55, -4.92, 35.51)
CIE-LCHlch(83.55, 35.85, 97.88°)
OKLaboklab(85.65% -0.0123 0.0876)
OKLCHoklch(85.65% 0.088 98)
XYZxyz(58.0406, 63.2137, 34.3382)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD18D #8D9BDF
analogous
#DFA88D #DFD18D #C4DF8D
triadic
#DFD18D #8DDFD1 #D18DDF
tetradic
#DFD18D #8DDFA8 #8D9BDF #DF8DC4
square
#DFD18D #8DDFA8 #8D9BDF #DF8DC4
split-complementary
#DFD18D #8DC4DF #A88DDF
monochromatic
#BDA535 #D2BE5D #DFD18D #ECE4BD #F8F5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD18D#FFFFFF#000000##000000
##DFD18D1.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)
#DECD88
Deuteranopia (green-blind)
#E2D38F
Tritanopia (blue-blind)
#EBC8C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd18d;
/* rgb */ color: rgb(223, 209, 141);
/* oklch */ color: oklch(85.7% 0.088 98.0);
Tailwind
colors: {
  custom: {
    50: '#eadfaf',
    500: '#dfd18d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd18d;
$custom-light: #eadfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd18d",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 141
  },
  "hsl": {
    "h": 49.756,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85654,
    "c": 0.08849,
    "h": 98
  },
  "luminance": 0.63212
}

Semantic roles & 50–950 ramp

primary
#DFD18D
secondary
#5969B7
accent
#3DC422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD18D

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

Preview Lab → · Contrast checker → · Palette generator →

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