#DFD08C#DFD08C

#DFD08C is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.089 H 97.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DFD08C
RGBrgb(223, 208, 140)
HSLhsl(49, 56%, 71%)
HSVhsv(49, 37%, 87%)
CMYKcmyk(0%, 6.7%, 37.2%, 12.5%)
CIE-LABlab(83.28, -4.52, 35.67)
CIE-LCHlch(83.28, 35.95, 97.22°)
OKLaboklab(85.43% -0.0112 0.088)
OKLCHoklch(85.43% 0.089 97.2)
XYZxyz(57.7219, 62.6949, 33.8666)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD08C #8C9BDF
analogous
#DFA68C #DFD08C #C4DF8C
triadic
#DFD08C #8CDFD0 #D08CDF
tetradic
#DFD08C #8CDFA6 #8C9BDF #DF8CC4
square
#DFD08C #8CDFA6 #8C9BDF #DF8CC4
split-complementary
#DFD08C #8CC4DF #A68CDF
monochromatic
#BCA434 #D2BC5C #DFD08C #ECE4BC #F8F5E7

Accessibility & contrast

On white

1.55
#DFD08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#DFD08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD08C
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD08C#FFFFFF#000000##000000
##DFD08C1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC87
Deuteranopia (green-blind)
#E1D28E
Tritanopia (blue-blind)
#EBC7BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd08c;
/* rgb */ color: rgb(223, 208, 140);
/* oklch */ color: oklch(85.4% 0.089 97.2);
Tailwind
colors: {
  custom: {
    50: '#eadeae',
    500: '#dfd08c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd08c;
$custom-light: #eadeae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd08c",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 140
  },
  "hsl": {
    "h": 49.157,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85433,
    "c": 0.08867,
    "h": 97.2
  },
  "luminance": 0.62693
}

Semantic roles & 50–950 ramp

primary
#DFD08C
secondary
#5869B7
accent
#3FC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD08C

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

Preview Lab → · Contrast checker → · Palette generator →

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