#DDD272#DDD272

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

Color values

HEX#DDD272
RGBrgb(221, 210, 114)
HSLhsl(54, 61%, 66%)
HSVhsv(54, 48%, 87%)
CMYKcmyk(0%, 5%, 48.4%, 13.3%)
CIE-LABlab(83.27, -8.98, 48.58)
CIE-LCHlch(83.27, 49.40, 100.47°)
OKLaboklab(85.27% -0.0262 0.1157)
OKLCHoklch(85.27% 0.119 102.8)
XYZxyz(55.9041, 62.6820, 25.0703)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD272 #727DDD
analogous
#DD9C72 #DDD272 #B2DD72
triadic
#DDD272 #72DDD2 #D272DD
tetradic
#DDD272 #72DD9C #727DDD #DD72B2
square
#DDD272 #72DD9C #727DDD #DD72B2
split-complementary
#DDD272 #72B2DD #9C72DD
monochromatic
#AB9E29 #D1C241 #DDD272 #E9E2A3 #F5F1D5

Accessibility & contrast

On white

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

On black

13.54
#DDD272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD272
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD272#FFFFFF#000000##000000
##DDD2721.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#EBC7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ddd272;
/* rgb */ color: rgb(221, 210, 114);
/* oklch */ color: oklch(85.3% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9df9c',
    500: '#ddd272',
    950: '#000000',
  },
}
SCSS
$custom: #ddd272;
$custom-light: #e9df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd272",
  "rgb": {
    "r": 221,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 53.832,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85271,
    "c": 0.11859,
    "h": 102.8
  },
  "luminance": 0.6268
}

Semantic roles & 50–950 ramp

primary
#DDD272
secondary
#4650AE
accent
#2EC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD272

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

Preview Lab → · Contrast checker → · Palette generator →

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