#DFD88F#DFD88F

#DFD88F is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.093 H 103.5°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#DFD88F
RGBrgb(223, 216, 143)
HSLhsl(55, 56%, 72%)
HSVhsv(55, 36%, 87%)
CMYKcmyk(0%, 3.1%, 35.9%, 12.5%)
CIE-LABlab(85.39, -8.26, 36.89)
CIE-LCHlch(85.39, 37.80, 102.62°)
OKLaboklab(87.12% -0.0217 0.0909)
OKLCHoklch(87.12% 0.093 103.5)
XYZxyz(59.9460, 66.7843, 35.7141)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD88F #8F96DF
analogous
#DFB08F #DFD88F #BEDF8F
triadic
#DFD88F #8FDFD8 #D88FDF
tetradic
#DFD88F #8FDFB0 #8F96DF #DF8FBE
square
#DFD88F #8FDFB0 #8F96DF #DF8FBE
split-complementary
#DFD88F #8FBEDF #B08FDF
monochromatic
#BDB236 #D1C75F #DFD88F #EDE9BF #F8F7E7

Accessibility & contrast

On white

1.46
#DFD88F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#DFD88F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD88F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD88F#FFFFFF#000000##000000
##DFD88F1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D38A
Deuteranopia (green-blind)
#E7D792
Tritanopia (blue-blind)
#EACFC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd88f;
/* rgb */ color: rgb(223, 216, 143);
/* oklch */ color: oklch(87.1% 0.093 103.5);
Tailwind
colors: {
  custom: {
    50: '#eae3b0',
    500: '#dfd88f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd88f;
$custom-light: #eae3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd88f",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 143
  },
  "hsl": {
    "h": 54.75,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87121,
    "c": 0.09348,
    "h": 103.5
  },
  "luminance": 0.66783
}

Semantic roles & 50–950 ramp

primary
#DFD88F
secondary
#5B63B7
accent
#30C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD88F

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

Preview Lab → · Contrast checker → · Palette generator →

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