#DDC54B#DDC54B

#DDC54B is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.2% C 0.141 H 98.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#DDC54B
RGBrgb(221, 197, 75)
HSLhsl(50, 68%, 58%)
HSVhsv(50, 66%, 87%)
CMYKcmyk(0%, 10.9%, 66.1%, 13.3%)
CIE-LABlab(79.51, -5.22, 61.98)
CIE-LCHlch(79.51, 62.20, 94.82°)
OKLaboklab(82.16% -0.0197 0.1399)
OKLCHoklch(82.16% 0.141 98)
XYZxyz(51.0573, 55.8151, 14.7393)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC54B #4B63DD
analogous
#DD7C4B #DDC54B #ACDD4B
triadic
#DDC54B #4BDDC5 #C54BDD
tetradic
#DDC54B #4BDD7C #4B63DD #DD4BAC
square
#DDC54B #4BDD7C #4B63DD #DD4BAC
split-complementary
#DDC54B #4BACDD #7C4BDD
monochromatic
#927F1C #C5AB25 #DDC54B #E7D67E #F0E6B2

Accessibility & contrast

On white

1.73
#DDC54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#DDC54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC54B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC54B#FFFFFF#000000##000000
##DDC54B1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C03B
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#EEB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc54b;
/* rgb */ color: rgb(221, 197, 75);
/* oklch */ color: oklch(82.2% 0.141 98.0);
Tailwind
colors: {
  custom: {
    50: '#ebd683',
    500: '#ddc54b',
    950: '#000000',
  },
}
SCSS
$custom: #ddc54b;
$custom-light: #ebd683;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc54b",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 75
  },
  "hsl": {
    "h": 50.137,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8216,
    "c": 0.14127,
    "h": 98
  },
  "luminance": 0.55813
}

Semantic roles & 50–950 ramp

primary
#DDC54B
secondary
#354597
accent
#59EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC54B

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

Preview Lab → · Contrast checker → · Palette generator →

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