#DFD18B#DFD18B

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

Color values

HEX#DFD18B
RGBrgb(223, 209, 139)
HSLhsl(50, 57%, 71%)
HSVhsv(50, 38%, 87%)
CMYKcmyk(0%, 6.3%, 37.7%, 12.5%)
CIE-LABlab(83.52, -5.14, 36.49)
CIE-LCHlch(83.52, 36.85, 98.02°)
OKLaboklab(85.62% -0.013 0.0898)
OKLCHoklch(85.62% 0.091 98.3)
XYZxyz(57.8931, 63.1547, 33.5615)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD18B #8B99DF
analogous
#DFA78B #DFD18B #C3DF8B
triadic
#DFD18B #8BDFD1 #D18BDF
tetradic
#DFD18B #8BDFA7 #8B99DF #DF8BC3
square
#DFD18B #8BDFA7 #8B99DF #DF8BC3
split-complementary
#DFD18B #8BC3DF #A78BDF
monochromatic
#BCA534 #D2BE5B #DFD18B #ECE4BB #F8F5E7

Accessibility & contrast

On white

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

On black

13.63
#DFD18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD18B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD18B#FFFFFF#000000##000000
##DFD18B1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd18b;
/* rgb */ color: rgb(223, 209, 139);
/* oklch */ color: oklch(85.6% 0.091 98.3);
Tailwind
colors: {
  custom: {
    50: '#eadfad',
    500: '#dfd18b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd18b;
$custom-light: #eadfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd18b",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 139
  },
  "hsl": {
    "h": 50,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85619,
    "c": 0.09077,
    "h": 98.3
  },
  "luminance": 0.63153
}

Semantic roles & 50–950 ramp

primary
#DFD18B
secondary
#5767B7
accent
#3CC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD18B

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

Preview Lab → · Contrast checker → · Palette generator →

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