#DDC97F#DDC97F

#DDC97F is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.096 H 94.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#DDC97F
RGBrgb(221, 201, 127)
HSLhsl(47, 58%, 68%)
HSVhsv(47, 43%, 87%)
CMYKcmyk(0%, 9%, 42.5%, 13.3%)
CIE-LABlab(81.12, -3.11, 39.46)
CIE-LCHlch(81.12, 39.59, 94.51°)
OKLaboklab(83.62% -0.008 0.0961)
OKLCHoklch(83.62% 0.096 94.8)
XYZxyz(54.5376, 58.6797, 28.5281)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC97F #7F93DD
analogous
#DD9A7F #DDC97F #C2DD7F
triadic
#DDC97F #7FDDC9 #C97FDD
tetradic
#DDC97F #7FDD9A #7F93DD #DD7FC2
square
#DDC97F #7FDD9A #7F93DD #DD7FC2
split-complementary
#DDC97F #7FC2DD #9A7FDD
monochromatic
#B2962F #D0B54F #DDC97F #EADDAF #F7F2E0

Accessibility & contrast

On white

1.65
#DDC97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#DDC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC97F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC97F#FFFFFF#000000##000000
##DDC97F1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C679
Deuteranopia (green-blind)
#DDCC82
Tritanopia (blue-blind)
#EABFB7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ddc97f;
/* rgb */ color: rgb(221, 201, 127);
/* oklch */ color: oklch(83.6% 0.096 94.8);
Tailwind
colors: {
  custom: {
    50: '#e9d9a5',
    500: '#ddc97f',
    950: '#000000',
  },
}
SCSS
$custom: #ddc97f;
$custom-light: #e9d9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc97f",
  "rgb": {
    "r": 221,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 47.234,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83616,
    "c": 0.09644,
    "h": 94.8
  },
  "luminance": 0.58678
}

Semantic roles & 50–950 ramp

primary
#DDC97F
secondary
#4D62B4
accent
#43C620
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DDC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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