#DDCF78#DDCF78

#DDCF78 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.109 H 100.3°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#DDCF78
RGBrgb(221, 207, 120)
HSLhsl(52, 60%, 67%)
HSVhsv(52, 46%, 87%)
CMYKcmyk(0%, 6.3%, 45.7%, 13.3%)
CIE-LABlab(82.57, -6.90, 44.79)
CIE-LCHlch(82.57, 45.32, 98.75°)
OKLaboklab(84.74% -0.0196 0.1077)
OKLCHoklch(84.74% 0.109 100.3)
XYZxyz(55.5232, 61.3557, 26.6837)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCF78 #7886DD
analogous
#DD9D78 #DDCF78 #B9DD78
triadic
#DDCF78 #78DDCF #CF78DD
tetradic
#DDCF78 #78DD9D #7886DD #DD78B9
square
#DDCF78 #78DD9D #7886DD #DD78B9
split-complementary
#DDCF78 #78B9DD #9D78DD
monochromatic
#AF9D2C #D1BE47 #DDCF78 #E9E0A9 #F6F2DA

Accessibility & contrast

On white

1.58
#DDCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#DDCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCF78
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCF78#FFFFFF#000000##000000
##DDCF781.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA71
Deuteranopia (green-blind)
#E2D07C
Tritanopia (blue-blind)
#EAC4BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ddcf78;
/* rgb */ color: rgb(221, 207, 120);
/* oklch */ color: oklch(84.7% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#e9dda0',
    500: '#ddcf78',
    950: '#000000',
  },
}
SCSS
$custom: #ddcf78;
$custom-light: #e9dda0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcf78",
  "rgb": {
    "r": 221,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 51.683,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84736,
    "c": 0.10946,
    "h": 100.3
  },
  "luminance": 0.61354
}

Semantic roles & 50–950 ramp

primary
#DDCF78
secondary
#4857B1
accent
#36C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DDCF78

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

Preview Lab → · Contrast checker → · Palette generator →

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