#DDC45F#DDC45F

#DDC45F is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.2% C 0.124 H 95.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#DDC45F
RGBrgb(221, 196, 95)
HSLhsl(48, 65%, 62%)
HSVhsv(48, 57%, 87%)
CMYKcmyk(0%, 11.3%, 57%, 13.3%)
CIE-LABlab(79.43, -3.39, 53.07)
CIE-LCHlch(79.43, 53.17, 93.65°)
OKLaboklab(82.16% -0.0121 0.1236)
OKLCHoklch(82.16% 0.124 95.6)
XYZxyz(51.6263, 55.6806, 18.8523)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC45F #5F78DD
analogous
#DD855F #DDC45F #B7DD5F
triadic
#DDC45F #5FDDC4 #C45FDD
tetradic
#DDC45F #5FDD85 #5F78DD #DD5FB7
square
#DDC45F #5FDD85 #5F78DD #DD5FB7
split-complementary
#DDC45F #5FB7DD #855FDD
monochromatic
#A08722 #D2B12D #DDC45F #E8D791 #F2E9C4

Accessibility & contrast

On white

1.73
#DDC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#DDC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC45F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC45F#FFFFFF#000000##000000
##DDC45F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#EDB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc45f;
/* rgb */ color: rgb(221, 196, 95);
/* oklch */ color: oklch(82.2% 0.124 95.6);
Tailwind
colors: {
  custom: {
    50: '#ead58f',
    500: '#ddc45f',
    950: '#000000',
  },
}
SCSS
$custom: #ddc45f;
$custom-light: #ead58f;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc45f",
  "rgb": {
    "r": 221,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 48.095,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82157,
    "c": 0.1242,
    "h": 95.6
  },
  "luminance": 0.55678
}

Semantic roles & 50–950 ramp

primary
#DDC45F
secondary
#3D51A3
accent
#3CCD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DDC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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