#DDC970#DDC970

#DDC970 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.112 H 97.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DDC970
RGBrgb(221, 201, 112)
HSLhsl(49, 62%, 65%)
HSVhsv(49, 49%, 87%)
CMYKcmyk(0%, 9%, 49.3%, 13.3%)
CIE-LABlab(80.91, -4.56, 46.69)
CIE-LCHlch(80.91, 46.91, 95.58°)
OKLaboklab(83.39% -0.0136 0.1113)
OKLCHoklch(83.39% 0.112 97)
XYZxyz(53.6317, 58.3174, 23.7574)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC970 #7084DD
analogous
#DD9270 #DDC970 #BADD70
triadic
#DDC970 #70DDC9 #C970DD
tetradic
#DDC970 #70DD92 #7084DD #DD70BA
square
#DDC970 #70DD92 #7084DD #DD70BA
split-complementary
#DDC970 #70BADD #9270DD
monochromatic
#AA9228 #D1B63F #DDC970 #E9DCA1 #F5EED3

Accessibility & contrast

On white

1.66
#DDC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#DDC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC970
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC970#FFFFFF#000000##000000
##DDC9701.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C568
Deuteranopia (green-blind)
#DECC74
Tritanopia (blue-blind)
#EBBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ddc970;
/* rgb */ color: rgb(221, 201, 112);
/* oklch */ color: oklch(83.4% 0.112 97.0);
Tailwind
colors: {
  custom: {
    50: '#ead99b',
    500: '#ddc970',
    950: '#000000',
  },
}
SCSS
$custom: #ddc970;
$custom-light: #ead99b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc970",
  "rgb": {
    "r": 221,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 48.991,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83393,
    "c": 0.11216,
    "h": 97
  },
  "luminance": 0.58315
}

Semantic roles & 50–950 ramp

primary
#DDC970
secondary
#4558AD
accent
#3CC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DDC970

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

Preview Lab → · Contrast checker → · Palette generator →

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