#DDD74B#DDD74B

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

Color values

HEX#DDD74B
RGBrgb(221, 215, 75)
HSLhsl(58, 68%, 58%)
HSVhsv(58, 66%, 87%)
CMYKcmyk(0%, 2.7%, 66.1%, 13.3%)
CIE-LABlab(84.22, -14.33, 66.84)
CIE-LCHlch(84.22, 68.36, 102.10°)
OKLaboklab(85.9% -0.0456 0.1502)
OKLCHoklch(85.9% 0.157 106.9)
XYZxyz(55.3912, 64.4829, 16.1839)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD74B #4B51DD
analogous
#DD8E4B #DDD74B #9ADD4B
triadic
#DDD74B #4BDDD7 #D74BDD
tetradic
#DDD74B #4BDD8E #4B51DD #DD4B9A
square
#DDD74B #4BDD8E #4B51DD #DD4B9A
split-complementary
#DDD74B #4B9ADD #8E4BDD
monochromatic
#928D1C #C5BF25 #DDD74B #E7E27E #F0EEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDD74B#FFFFFF#000000##000000
##DDD74B1.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)
#E9CF37
Deuteranopia (green-blind)
#EBD554
Tritanopia (blue-blind)
#EDC9BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ddd74b;
/* rgb */ color: rgb(221, 215, 75);
/* oklch */ color: oklch(85.9% 0.157 106.9);
Tailwind
colors: {
  custom: {
    50: '#ebe385',
    500: '#ddd74b',
    950: '#000000',
  },
}
SCSS
$custom: #ddd74b;
$custom-light: #ebe385;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd74b",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 57.534,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85901,
    "c": 0.15693,
    "h": 106.9
  },
  "luminance": 0.64481
}

Semantic roles & 50–950 ramp

primary
#DDD74B
secondary
#353997
accent
#44EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DDD74B

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

Preview Lab → · Contrast checker → · Palette generator →

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