#DDD271#DDD271

#DDD271 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.120 H 102.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#DDD271
RGBrgb(221, 210, 113)
HSLhsl(54, 61%, 65%)
HSVhsv(54, 49%, 87%)
CMYKcmyk(0%, 5%, 48.9%, 13.3%)
CIE-LABlab(83.26, -9.07, 49.05)
CIE-LCHlch(83.26, 49.88, 100.48°)
OKLaboklab(85.26% -0.0265 0.1166)
OKLCHoklch(85.26% 0.12 102.8)
XYZxyz(55.8475, 62.6594, 24.7722)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD271 #717CDD
analogous
#DD9C71 #DDD271 #B2DD71
triadic
#DDD271 #71DDD2 #D271DD
tetradic
#DDD271 #71DD9C #717CDD #DD71B2
square
#DDD271 #71DD9C #717CDD #DD71B2
split-complementary
#DDD271 #71B2DD #9C71DD
monochromatic
#AB9D29 #D1C240 #DDD271 #E9E2A2 #F5F1D4

Accessibility & contrast

On white

1.55
#DDD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#DDD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD271
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD271#FFFFFF#000000##000000
##DDD2711.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC69
Deuteranopia (green-blind)
#E5D275
Tritanopia (blue-blind)
#EBC6BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ddd271;
/* rgb */ color: rgb(221, 210, 113);
/* oklch */ color: oklch(85.3% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9df9c',
    500: '#ddd271',
    950: '#000000',
  },
}
SCSS
$custom: #ddd271;
$custom-light: #e9df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd271",
  "rgb": {
    "r": 221,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 53.889,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85257,
    "c": 0.11959,
    "h": 102.8
  },
  "luminance": 0.62658
}

Semantic roles & 50–950 ramp

primary
#DDD271
secondary
#4550AD
accent
#2EC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD271

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

Preview Lab → · Contrast checker → · Palette generator →

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