#DFDD7F#DFDD7F

#DFDD7F is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 87.9% C 0.117 H 107.5°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#DFDD7F
RGBrgb(223, 221, 127)
HSLhsl(59, 60%, 69%)
HSVhsv(59, 43%, 87%)
CMYKcmyk(0%, 0.9%, 43%, 12.5%)
CIE-LABlab(86.47, -12.49, 46.23)
CIE-LCHlch(86.47, 47.88, 105.11°)
OKLaboklab(87.9% -0.0351 0.1113)
OKLCHoklch(87.9% 0.117 107.5)
XYZxyz(60.1197, 68.9346, 30.2133)
Luminance0.6893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD7F #7F81DF
analogous
#DFAD7F #DFDD7F #B1DF7F
triadic
#DFDD7F #7FDFDD #DD7FDF
tetradic
#DFDD7F #7FDFAD #7F81DF #DF7FB1
square
#DFDD7F #7FDFAD #7F81DF #DF7FB1
split-complementary
#DFDD7F #7FB1DF #AD7FDF
monochromatic
#B6B32E #D3D04E #DFDD7F #EBEAB0 #F7F7E1

Accessibility & contrast

On white

1.42
#DFDD7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#DFDD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD7F
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD7F#FFFFFF#000000##000000
##DFDD7F1.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD677
Deuteranopia (green-blind)
#EDDA83
Tritanopia (blue-blind)
#EBD2C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdd7f;
/* rgb */ color: rgb(223, 221, 127);
/* oklch */ color: oklch(87.9% 0.117 107.5);
Tailwind
colors: {
  custom: {
    50: '#eae7a6',
    500: '#dfdd7f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd7f;
$custom-light: #eae7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd7f",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 127
  },
  "hsl": {
    "h": 58.75,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87902,
    "c": 0.11675,
    "h": 107.5
  },
  "luminance": 0.68933
}

Semantic roles & 50–950 ramp

primary
#DFDD7F
secondary
#4C4EB6
accent
#21C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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