#DDC751#DDC751

#DDC751 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.138 H 98.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DDC751
RGBrgb(221, 199, 81)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 10%, 63.3%, 13.3%)
CIE-LABlab(80.08, -5.89, 60.05)
CIE-LCHlch(80.08, 60.34, 95.60°)
OKLaboklab(82.63% -0.021 0.1367)
OKLCHoklch(82.63% 0.138 98.7)
XYZxyz(51.7296, 56.8154, 16.0247)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC751 #5167DD
analogous
#DD8151 #DDC751 #ADDD51
triadic
#DDC751 #51DDC7 #C751DD
tetradic
#DDC751 #51DD81 #5167DD #DD51AD
square
#DDC751 #51DD81 #5167DD #DD51AD
split-complementary
#DDC751 #51ADDD #8151DD
monochromatic
#96831D #C9B027 #DDC751 #E7D784 #F1E8B7

Accessibility & contrast

On white

1.70
#DDC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DDC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC751
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC751#FFFFFF#000000##000000
##DDC7511.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#EDB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ddc751;
/* rgb */ color: rgb(221, 199, 81);
/* oklch */ color: oklch(82.6% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#ebd787',
    500: '#ddc751',
    950: '#000000',
  },
}
SCSS
$custom: #ddc751;
$custom-light: #ebd787;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc751",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 50.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82625,
    "c": 0.13833,
    "h": 98.7
  },
  "luminance": 0.56813
}

Semantic roles & 50–950 ramp

primary
#DDC751
secondary
#38479B
accent
#59EA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC751

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

Preview Lab → · Contrast checker → · Palette generator →

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