#DDD74C#DDD74C

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

Color values

HEX#DDD74C
RGBrgb(221, 215, 76)
HSLhsl(58, 68%, 58%)
HSVhsv(58, 66%, 87%)
CMYKcmyk(0%, 2.7%, 65.6%, 13.3%)
CIE-LABlab(84.22, -14.27, 66.46)
CIE-LCHlch(84.22, 67.98, 102.12°)
OKLaboklab(85.91% -0.0453 0.1495)
OKLCHoklch(85.91% 0.156 106.9)
XYZxyz(55.4257, 64.4967, 16.3656)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD74C #4C52DD
analogous
#DD8E4C #DDD74C #9ADD4C
triadic
#DDD74C #4CDDD7 #D74CDD
tetradic
#DDD74C #4CDD8E #4C52DD #DD4C9A
square
#DDD74C #4CDD8E #4C52DD #DD4C9A
split-complementary
#DDD74C #4C9ADD #8E4CDD
monochromatic
#938E1C #C6C026 #DDD74C #E7E27F #F1EEB3

Accessibility & contrast

On white

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

On black

13.90
#DDD74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD74C
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD74C#FFFFFF#000000##000000
##DDD74C1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF39
Deuteranopia (green-blind)
#EBD555
Tritanopia (blue-blind)
#ECC9BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ddd74c;
/* rgb */ color: rgb(221, 215, 76);
/* oklch */ color: oklch(85.9% 0.156 106.9);
Tailwind
colors: {
  custom: {
    50: '#ebe385',
    500: '#ddd74c',
    950: '#000000',
  },
}
SCSS
$custom: #ddd74c;
$custom-light: #ebe385;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd74c",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 57.517,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85909,
    "c": 0.15624,
    "h": 106.9
  },
  "luminance": 0.64495
}

Semantic roles & 50–950 ramp

primary
#DDD74C
secondary
#363A97
accent
#44EB3D
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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