#DFD38D#DFD38D

#DFD38D is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.090 H 99.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DFD38D
RGBrgb(223, 211, 141)
HSLhsl(51, 56%, 71%)
HSVhsv(51, 37%, 87%)
CMYKcmyk(0%, 5.4%, 36.8%, 12.5%)
CIE-LABlab(84.07, -5.94, 36.18)
CIE-LCHlch(84.07, 36.67, 99.32°)
OKLaboklab(86.06% -0.0152 0.0892)
OKLCHoklch(86.06% 0.09 99.7)
XYZxyz(58.5343, 64.2012, 34.5028)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD38D #8D99DF
analogous
#DFAA8D #DFD38D #C2DF8D
triadic
#DFD38D #8DDFD3 #D38DDF
tetradic
#DFD38D #8DDFAA #8D99DF #DF8DC2
square
#DFD38D #8DDFAA #8D99DF #DF8DC2
split-complementary
#DFD38D #8DC2DF #AA8DDF
monochromatic
#BDA935 #D2C15D #DFD38D #ECE5BD #F8F6E7

Accessibility & contrast

On white

1.52
#DFD38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#DFD38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD38D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD38D#FFFFFF#000000##000000
##DFD38D1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF88
Deuteranopia (green-blind)
#E3D490
Tritanopia (blue-blind)
#EBCAC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd38d;
/* rgb */ color: rgb(223, 211, 141);
/* oklch */ color: oklch(86.1% 0.090 99.7);
Tailwind
colors: {
  custom: {
    50: '#eae0af',
    500: '#dfd38d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd38d;
$custom-light: #eae0af;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd38d",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 141
  },
  "hsl": {
    "h": 51.22,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86062,
    "c": 0.09049,
    "h": 99.7
  },
  "luminance": 0.642
}

Semantic roles & 50–950 ramp

primary
#DFD38D
secondary
#5967B7
accent
#39C422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD38D

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

Preview Lab → · Contrast checker → · Palette generator →

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