#DDC74C#DDC74C

#DDC74C is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.142 H 99.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DDC74C
RGBrgb(221, 199, 76)
HSLhsl(51, 68%, 58%)
HSVhsv(51, 66%, 87%)
CMYKcmyk(0%, 10%, 65.6%, 13.3%)
CIE-LABlab(80.03, -6.19, 62.12)
CIE-LCHlch(80.03, 62.42, 95.69°)
OKLaboklab(82.58% -0.0224 0.1403)
OKLCHoklch(82.58% 0.142 99.1)
XYZxyz(51.5490, 56.7432, 15.0733)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC74C #4C62DD
analogous
#DD7F4C #DDC74C #AADD4C
triadic
#DDC74C #4CDDC7 #C74CDD
tetradic
#DDC74C #4CDD7F #4C62DD #DD4CAA
square
#DDC74C #4CDD7F #4C62DD #DD4CAA
split-complementary
#DDC74C #4CAADD #7F4CDD
monochromatic
#93811C #C6AE26 #DDC74C #E7D77F #F1E7B3

Accessibility & contrast

On white

1.70
#DDC74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#DDC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC74C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC74C#FFFFFF#000000##000000
##DDC74C1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23C
Deuteranopia (green-blind)
#DFCA53
Tritanopia (blue-blind)
#EEB9AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc74c;
/* rgb */ color: rgb(221, 199, 76);
/* oklch */ color: oklch(82.6% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#ebd784',
    500: '#ddc74c',
    950: '#000000',
  },
}
SCSS
$custom: #ddc74c;
$custom-light: #ebd784;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc74c",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 50.897,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82579,
    "c": 0.14211,
    "h": 99.1
  },
  "luminance": 0.56741
}

Semantic roles & 50–950 ramp

primary
#DDC74C
secondary
#364597
accent
#57EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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