#DDC74B#DDC74B

#DDC74B is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.143 H 99.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DDC74B
RGBrgb(221, 199, 75)
HSLhsl(51, 68%, 58%)
HSVhsv(51, 66%, 87%)
CMYKcmyk(0%, 10%, 66.1%, 13.3%)
CIE-LABlab(80.03, -6.25, 62.52)
CIE-LCHlch(80.03, 62.83, 95.71°)
OKLaboklab(82.57% -0.0227 0.141)
OKLCHoklch(82.57% 0.143 99.1)
XYZxyz(51.5145, 56.7294, 14.8916)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC74B #4B61DD
analogous
#DD7E4B #DDC74B #AADD4B
triadic
#DDC74B #4BDDC7 #C74BDD
tetradic
#DDC74B #4BDD7E #4B61DD #DD4BAA
square
#DDC74B #4BDD7E #4B61DD #DD4BAA
split-complementary
#DDC74B #4BAADD #7E4BDD
monochromatic
#92801C #C5AD25 #DDC74B #E7D77E #F0E7B2

Accessibility & contrast

On white

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

On black

12.35
#DDC74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC74B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC74B#FFFFFF#000000##000000
##DDC74B1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23B
Deuteranopia (green-blind)
#DFCA52
Tritanopia (blue-blind)
#EEB9AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc74b;
/* rgb */ color: rgb(221, 199, 75);
/* oklch */ color: oklch(82.6% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#ebd783',
    500: '#ddc74b',
    950: '#000000',
  },
}
SCSS
$custom: #ddc74b;
$custom-light: #ebd783;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc74b",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 50.959,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82571,
    "c": 0.14285,
    "h": 99.1
  },
  "luminance": 0.56727
}

Semantic roles & 50–950 ramp

primary
#DDC74B
secondary
#354497
accent
#57EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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