#DDD273#DDD273

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

Color values

HEX#DDD273
RGBrgb(221, 210, 115)
HSLhsl(54, 61%, 66%)
HSVhsv(54, 48%, 87%)
CMYKcmyk(0%, 5%, 48%, 13.3%)
CIE-LABlab(83.29, -8.89, 48.11)
CIE-LCHlch(83.29, 48.93, 100.47°)
OKLaboklab(85.28% -0.0258 0.1147)
OKLCHoklch(85.28% 0.118 102.7)
XYZxyz(55.9614, 62.7049, 25.3717)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD273 #737EDD
analogous
#DD9D73 #DDD273 #B3DD73
triadic
#DDD273 #73DDD2 #D273DD
tetradic
#DDD273 #73DD9D #737EDD #DD73B3
square
#DDD273 #73DD9D #737EDD #DD73B3
split-complementary
#DDD273 #73B3DD #9D73DD
monochromatic
#AC9E2A #D1C242 #DDD273 #E9E2A4 #F5F2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDD273#FFFFFF#000000##000000
##DDD2731.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)
#E1CC6B
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#EBC7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ddd273;
/* rgb */ color: rgb(221, 210, 115);
/* oklch */ color: oklch(85.3% 0.118 102.7);
Tailwind
colors: {
  custom: {
    50: '#e9df9d',
    500: '#ddd273',
    950: '#000000',
  },
}
SCSS
$custom: #ddd273;
$custom-light: #e9df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd273",
  "rgb": {
    "r": 221,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 53.774,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85284,
    "c": 0.11757,
    "h": 102.7
  },
  "luminance": 0.62703
}

Semantic roles & 50–950 ramp

primary
#DDD273
secondary
#4651AE
accent
#2FC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD273

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

Preview Lab → · Contrast checker → · Palette generator →

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