#DDD740#DDD740

#DDD740 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.8% C 0.164 H 107.1°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DDD740
RGBrgb(221, 215, 64)
HSLhsl(58, 70%, 56%)
HSVhsv(58, 71%, 87%)
CMYKcmyk(0%, 2.7%, 71%, 13.3%)
CIE-LABlab(84.15, -14.89, 70.84)
CIE-LCHlch(84.15, 72.39, 101.87°)
OKLaboklab(85.82% -0.0482 0.1568)
OKLCHoklch(85.82% 0.164 107.1)
XYZxyz(55.0468, 64.3451, 14.3697)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD740 #4046DD
analogous
#DD8840 #DDD740 #94DD40
triadic
#DDD740 #40DDD7 #D740DD
tetradic
#DDD740 #40DD88 #4046DD #DD4094
square
#DDD740 #40DD88 #4046DD #DD4094
split-complementary
#DDD740 #4094DD #8840DD
monochromatic
#8A8619 #BEB822 #DDD740 #E6E274 #EFEDA8

Accessibility & contrast

On white

1.51
#DDD740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DDD740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD740
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD740#FFFFFF#000000##000000
##DDD7401.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF25
Deuteranopia (green-blind)
#ECD54B
Tritanopia (blue-blind)
#EDC9BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ddd740;
/* rgb */ color: rgb(221, 215, 64);
/* oklch */ color: oklch(85.8% 0.164 107.1);
Tailwind
colors: {
  custom: {
    50: '#ebe37f',
    500: '#ddd740',
    950: '#000000',
  },
}
SCSS
$custom: #ddd740;
$custom-light: #ebe37f;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd740",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 57.707,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85821,
    "c": 0.16401,
    "h": 107.1
  },
  "luminance": 0.64343
}

Semantic roles & 50–950 ramp

primary
#DDD740
secondary
#313590
accent
#42ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DDD740

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

Preview Lab → · Contrast checker → · Palette generator →

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