#DFD38C#DFD38C

#DFD38C is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.092 H 99.8°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#DFD38C
RGBrgb(223, 211, 140)
HSLhsl(51, 56%, 71%)
HSVhsv(51, 37%, 87%)
CMYKcmyk(0%, 5.4%, 37.2%, 12.5%)
CIE-LABlab(84.06, -6.05, 36.67)
CIE-LCHlch(84.06, 37.17, 99.37°)
OKLaboklab(86.05% -0.0156 0.0903)
OKLCHoklch(86.05% 0.092 99.8)
XYZxyz(58.4603, 64.1716, 34.1127)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD38C #8C98DF
analogous
#DFA98C #DFD38C #C1DF8C
triadic
#DFD38C #8CDFD3 #D38CDF
tetradic
#DFD38C #8CDFA9 #8C98DF #DF8CC1
square
#DFD38C #8CDFA9 #8C98DF #DF8CC1
split-complementary
#DFD38C #8CC1DF #A98CDF
monochromatic
#BCA934 #D2C15C #DFD38C #ECE5BC #F8F6E7

Accessibility & contrast

On white

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

On black

13.83
#DFD38C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD38C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD38C#FFFFFF#000000##000000
##DFD38C1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF87
Deuteranopia (green-blind)
#E3D48F
Tritanopia (blue-blind)
#EBC9C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd38c;
/* rgb */ color: rgb(223, 211, 140);
/* oklch */ color: oklch(86.0% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#eae0ae',
    500: '#dfd38c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd38c;
$custom-light: #eae0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd38c",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 140
  },
  "hsl": {
    "h": 51.325,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86045,
    "c": 0.09163,
    "h": 99.8
  },
  "luminance": 0.6417
}

Semantic roles & 50–950 ramp

primary
#DFD38C
secondary
#5866B7
accent
#39C421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD38C

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

Preview Lab → · Contrast checker → · Palette generator →

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