#DFD18E#DFD18E

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

Color values

HEX#DFD18E
RGBrgb(223, 209, 142)
HSLhsl(50, 56%, 72%)
HSVhsv(50, 36%, 87%)
CMYKcmyk(0%, 6.3%, 36.3%, 12.5%)
CIE-LABlab(83.57, -4.80, 35.02)
CIE-LCHlch(83.57, 35.35, 97.81°)
OKLaboklab(85.67% -0.0119 0.0865)
OKLCHoklch(85.67% 0.087 97.8)
XYZxyz(58.1153, 63.2436, 34.7318)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD18E #8E9CDF
analogous
#DFA98E #DFD18E #C5DF8E
triadic
#DFD18E #8EDFD1 #D18EDF
tetradic
#DFD18E #8EDFA9 #8E9CDF #DF8EC5
square
#DFD18E #8EDFA9 #8E9CDF #DF8EC5
split-complementary
#DFD18E #8EC5DF #A98EDF
monochromatic
#BDA636 #D1BE5E #DFD18E #EDE4BE #F8F5E7

Accessibility & contrast

On white

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

On black

13.65
#DFD18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD18E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD18E#FFFFFF#000000##000000
##DFD18E1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD89
Deuteranopia (green-blind)
#E2D390
Tritanopia (blue-blind)
#EBC8C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd18e;
/* rgb */ color: rgb(223, 209, 142);
/* oklch */ color: oklch(85.7% 0.087 97.8);
Tailwind
colors: {
  custom: {
    50: '#eadfaf',
    500: '#dfd18e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd18e;
$custom-light: #eadfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd18e",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 142
  },
  "hsl": {
    "h": 49.63,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85671,
    "c": 0.08734,
    "h": 97.8
  },
  "luminance": 0.63242
}

Semantic roles & 50–950 ramp

primary
#DFD18E
secondary
#5A6AB7
accent
#3EC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD18E

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

Preview Lab → · Contrast checker → · Palette generator →

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