#DDD771#DDD771

#DDD771 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.125 H 105.7°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#DDD771
RGBrgb(221, 215, 113)
HSLhsl(57, 61%, 65%)
HSVhsv(57, 49%, 87%)
CMYKcmyk(0%, 2.7%, 48.9%, 13.3%)
CIE-LABlab(84.57, -11.59, 50.62)
CIE-LCHlch(84.57, 51.93, 102.90°)
OKLaboklab(86.3% -0.0338 0.1201)
OKLCHoklch(86.3% 0.125 105.7)
XYZxyz(57.1013, 65.1669, 25.1901)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD771 #7177DD
analogous
#DDA171 #DDD771 #ADDD71
triadic
#DDD771 #71DDD7 #D771DD
tetradic
#DDD771 #71DDA1 #7177DD #DD71AD
square
#DDD771 #71DDA1 #7177DD #DD71AD
split-complementary
#DDD771 #71ADDD #A171DD
monochromatic
#ABA429 #D1C940 #DDD771 #E9E5A2 #F5F3D4

Accessibility & contrast

On white

1.50
#DDD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#DDD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD771
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD771#FFFFFF#000000##000000
##DDD7711.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#E9D576
Tritanopia (blue-blind)
#EACBBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ddd771;
/* rgb */ color: rgb(221, 215, 113);
/* oklch */ color: oklch(86.3% 0.125 105.7);
Tailwind
colors: {
  custom: {
    50: '#e9e39c',
    500: '#ddd771',
    950: '#000000',
  },
}
SCSS
$custom: #ddd771;
$custom-light: #e9e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd771",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 56.667,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86295,
    "c": 0.12471,
    "h": 105.7
  },
  "luminance": 0.65165
}

Semantic roles & 50–950 ramp

primary
#DDD771
secondary
#454BAD
accent
#26C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD771

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

Preview Lab → · Contrast checker → · Palette generator →

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