#DFD38B#DFD38B

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

Color values

HEX#DFD38B
RGBrgb(223, 211, 139)
HSLhsl(51, 57%, 71%)
HSVhsv(51, 38%, 87%)
CMYKcmyk(0%, 5.4%, 37.7%, 12.5%)
CIE-LABlab(84.04, -6.17, 37.16)
CIE-LCHlch(84.04, 37.67, 99.42°)
OKLaboklab(86.03% -0.016 0.0914)
OKLCHoklch(86.03% 0.093 99.9)
XYZxyz(58.3869, 64.1422, 33.7261)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD38B #8B97DF
analogous
#DFA98B #DFD38B #C1DF8B
triadic
#DFD38B #8BDFD3 #D38BDF
tetradic
#DFD38B #8BDFA9 #8B97DF #DF8BC1
square
#DFD38B #8BDFA9 #8B97DF #DF8BC1
split-complementary
#DFD38B #8BC1DF #A98BDF
monochromatic
#BCA834 #D2C15B #DFD38B #ECE5BB #F8F6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD38B#FFFFFF#000000##000000
##DFD38B1.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)
#E0CF86
Deuteranopia (green-blind)
#E4D48E
Tritanopia (blue-blind)
#EBC9C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd38b;
/* rgb */ color: rgb(223, 211, 139);
/* oklch */ color: oklch(86.0% 0.093 99.9);
Tailwind
colors: {
  custom: {
    50: '#eae0ad',
    500: '#dfd38b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd38b;
$custom-light: #eae0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd38b",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 139
  },
  "hsl": {
    "h": 51.429,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86027,
    "c": 0.09277,
    "h": 99.9
  },
  "luminance": 0.64141
}

Semantic roles & 50–950 ramp

primary
#DFD38B
secondary
#5765B7
accent
#38C421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD38B

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

Preview Lab → · Contrast checker → · Palette generator →

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