#DFD18F#DFD18F

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

Color values

HEX#DFD18F
RGBrgb(223, 209, 143)
HSLhsl(50, 56%, 72%)
HSVhsv(50, 36%, 87%)
CMYKcmyk(0%, 6.3%, 35.9%, 12.5%)
CIE-LABlab(83.59, -4.69, 34.53)
CIE-LCHlch(83.59, 34.85, 97.73°)
OKLaboklab(85.69% -0.0115 0.0854)
OKLCHoklch(85.69% 0.086 97.6)
XYZxyz(58.1907, 63.2737, 35.1290)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD18F #8F9DDF
analogous
#DFA98F #DFD18F #C5DF8F
triadic
#DFD18F #8FDFD1 #D18FDF
tetradic
#DFD18F #8FDFA9 #8F9DDF #DF8FC5
square
#DFD18F #8FDFA9 #8F9DDF #DF8FC5
split-complementary
#DFD18F #8FC5DF #A98FDF
monochromatic
#BDA636 #D1BD5F #DFD18F #EDE5BF #F8F5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD18F#FFFFFF#000000##000000
##DFD18F1.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)
#DECD8A
Deuteranopia (green-blind)
#E2D391
Tritanopia (blue-blind)
#EBC8C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd18f;
/* rgb */ color: rgb(223, 209, 143);
/* oklch */ color: oklch(85.7% 0.086 97.6);
Tailwind
colors: {
  custom: {
    50: '#eadfb0',
    500: '#dfd18f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd18f;
$custom-light: #eadfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd18f",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 143
  },
  "hsl": {
    "h": 49.5,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85689,
    "c": 0.08619,
    "h": 97.6
  },
  "luminance": 0.63272
}

Semantic roles & 50–950 ramp

primary
#DFD18F
secondary
#5B6BB7
accent
#3FC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD18F

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

Preview Lab → · Contrast checker → · Palette generator →

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