#DDD54B#DDD54B

#DDD54B is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.155 H 106.0°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#DDD54B
RGBrgb(221, 213, 75)
HSLhsl(57, 68%, 58%)
HSVhsv(57, 66%, 87%)
CMYKcmyk(0%, 3.6%, 66.1%, 13.3%)
CIE-LABlab(83.69, -13.33, 66.30)
CIE-LCHlch(83.69, 67.63, 101.37°)
OKLaboklab(85.48% -0.0428 0.149)
OKLCHoklch(85.48% 0.155 106)
XYZxyz(54.8851, 63.4706, 16.0152)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD54B #4B53DD
analogous
#DD8C4B #DDD54B #9CDD4B
triadic
#DDD54B #4BDDD5 #D54BDD
tetradic
#DDD54B #4BDD8C #4B53DD #DD4B9C
square
#DDD54B #4BDD8C #4B53DD #DD4B9C
split-complementary
#DDD54B #4B9CDD #8C4BDD
monochromatic
#928C1C #C5BD25 #DDD54B #E7E17E #F0EDB2

Accessibility & contrast

On white

1.53
#DDD54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#DDD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD54B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD54B#FFFFFF#000000##000000
##DDD54B1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD38
Deuteranopia (green-blind)
#EAD354
Tritanopia (blue-blind)
#EDC7B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ddd54b;
/* rgb */ color: rgb(221, 213, 75);
/* oklch */ color: oklch(85.5% 0.155 106.0);
Tailwind
colors: {
  custom: {
    50: '#ebe184',
    500: '#ddd54b',
    950: '#000000',
  },
}
SCSS
$custom: #ddd54b;
$custom-light: #ebe184;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd54b",
  "rgb": {
    "r": 221,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 56.712,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85481,
    "c": 0.15504,
    "h": 106
  },
  "luminance": 0.63469
}

Semantic roles & 50–950 ramp

primary
#DDD54B
secondary
#353B97
accent
#46EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DDD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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