#DDD74F#DDD74F

#DDD74F is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.154 H 106.8°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#DDD74F
RGBrgb(221, 215, 79)
HSLhsl(57, 68%, 59%)
HSVhsv(57, 64%, 87%)
CMYKcmyk(0%, 2.7%, 64.3%, 13.3%)
CIE-LABlab(84.25, -14.10, 65.30)
CIE-LCHlch(84.25, 66.80, 102.18°)
OKLaboklab(85.93% -0.0445 0.1475)
OKLCHoklch(85.93% 0.154 106.8)
XYZxyz(55.5325, 64.5394, 16.9277)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD74F #4F55DD
analogous
#DD904F #DDD74F #9CDD4F
triadic
#DDD74F #4FDDD7 #D74FDD
tetradic
#DDD74F #4FDD90 #4F55DD #DD4F9C
square
#DDD74F #4FDD90 #4F55DD #DD4F9C
split-complementary
#DDD74F #4F9CDD #904FDD
monochromatic
#95901D #C8C127 #DDD74F #E7E382 #F1EEB6

Accessibility & contrast

On white

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

On black

13.91
#DDD74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD74F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD74F#FFFFFF#000000##000000
##DDD74F1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#EBD557
Tritanopia (blue-blind)
#ECCABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ddd74f;
/* rgb */ color: rgb(221, 215, 79);
/* oklch */ color: oklch(85.9% 0.154 106.8);
Tailwind
colors: {
  custom: {
    50: '#ebe387',
    500: '#ddd74f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd74f;
$custom-light: #ebe387;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd74f",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 57.465,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85933,
    "c": 0.15409,
    "h": 106.8
  },
  "luminance": 0.64538
}

Semantic roles & 50–950 ramp

primary
#DDD74F
secondary
#373B99
accent
#45EA3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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