#DDC04B#DDC04B

#DDC04B is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.138 H 95.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#DDC04B
RGBrgb(221, 192, 75)
HSLhsl(48, 68%, 58%)
HSVhsv(48, 66%, 87%)
CMYKcmyk(0%, 13.1%, 66.1%, 13.3%)
CIE-LABlab(78.22, -2.64, 60.62)
CIE-LCHlch(78.22, 60.68, 92.49°)
OKLaboklab(81.14% -0.0123 0.137)
OKLCHoklch(81.14% 0.138 95.2)
XYZxyz(49.9408, 53.5820, 14.3671)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC04B #4B68DD
analogous
#DD774B #DDC04B #B1DD4B
triadic
#DDC04B #4BDDC0 #C04BDD
tetradic
#DDC04B #4BDD77 #4B68DD #DD4BB1
square
#DDC04B #4BDD77 #4B68DD #DD4BB1
split-complementary
#DDC04B #4BB1DD #774BDD
monochromatic
#927A1C #C5A625 #DDC04B #E7D27E #F0E4B2

Accessibility & contrast

On white

1.79
#DDC04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#DDC04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC04B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC04B#FFFFFF#000000##000000
##DDC04B1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3C
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#EEB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ddc04b;
/* rgb */ color: rgb(221, 192, 75);
/* oklch */ color: oklch(81.1% 0.138 95.2);
Tailwind
colors: {
  custom: {
    50: '#ebd283',
    500: '#ddc04b',
    950: '#000000',
  },
}
SCSS
$custom: #ddc04b;
$custom-light: #ebd283;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc04b",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 48.082,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81138,
    "c": 0.13758,
    "h": 95.2
  },
  "luminance": 0.53579
}

Semantic roles & 50–950 ramp

primary
#DDC04B
secondary
#354997
accent
#5FEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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