#DDC74F#DDC74F

#DDC74F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.140 H 98.9°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DDC74F
RGBrgb(221, 199, 79)
HSLhsl(51, 68%, 59%)
HSVhsv(51, 64%, 87%)
CMYKcmyk(0%, 10%, 64.3%, 13.3%)
CIE-LABlab(80.06, -6.01, 60.89)
CIE-LCHlch(80.06, 61.18, 95.64°)
OKLaboklab(82.61% -0.0215 0.1382)
OKLCHoklch(82.61% 0.14 98.9)
XYZxyz(51.6557, 56.7859, 15.6355)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC74F #4F65DD
analogous
#DD804F #DDC74F #ACDD4F
triadic
#DDC74F #4FDDC7 #C74FDD
tetradic
#DDC74F #4FDD80 #4F65DD #DD4FAC
square
#DDC74F #4FDD80 #4F65DD #DD4FAC
split-complementary
#DDC74F #4FACDD #804FDD
monochromatic
#95821D #C8AF27 #DDC74F #E7D782 #F1E8B6

Accessibility & contrast

On white

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

On black

12.36
#DDC74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC74F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC74F#FFFFFF#000000##000000
##DDC74F1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#EDB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc74f;
/* rgb */ color: rgb(221, 199, 79);
/* oklch */ color: oklch(82.6% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#ebd786',
    500: '#ddc74f',
    950: '#000000',
  },
}
SCSS
$custom: #ddc74f;
$custom-light: #ebd786;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc74f",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 50.704,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82606,
    "c": 0.13987,
    "h": 98.9
  },
  "luminance": 0.56784
}

Semantic roles & 50–950 ramp

primary
#DDC74F
secondary
#374699
accent
#58EA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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