#DDC162#DDC162

#DDC162 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.119 H 93.2°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#DDC162
RGBrgb(221, 193, 98)
HSLhsl(46, 64%, 63%)
HSVhsv(46, 56%, 87%)
CMYKcmyk(0%, 12.7%, 55.7%, 13.3%)
CIE-LABlab(78.69, -1.60, 50.80)
CIE-LCHlch(78.69, 50.82, 91.81°)
OKLaboklab(81.58% -0.0066 0.119)
OKLCHoklch(81.58% 0.119 93.2)
XYZxyz(51.0954, 54.3963, 19.3611)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC162 #627EDD
analogous
#DD8362 #DDC162 #BCDD62
triadic
#DDC162 #62DDC1 #C162DD
tetradic
#DDC162 #62DD83 #627EDD #DD62BC
square
#DDC162 #62DD83 #627EDD #DD62BC
split-complementary
#DDC162 #62BCDD #8362DD
monochromatic
#A28523 #D2AD30 #DDC162 #E8D594 #F3E9C7

Accessibility & contrast

On white

1.77
#DDC162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#DDC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC162
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC162#FFFFFF#000000##000000
##DDC1621.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EDB4AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ddc162;
/* rgb */ color: rgb(221, 193, 98);
/* oklch */ color: oklch(81.6% 0.119 93.2);
Tailwind
colors: {
  custom: {
    50: '#ead391',
    500: '#ddc162',
    950: '#000000',
  },
}
SCSS
$custom: #ddc162;
$custom-light: #ead391;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc162",
  "rgb": {
    "r": 221,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 46.341,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81583,
    "c": 0.11922,
    "h": 93.2
  },
  "luminance": 0.54394
}

Semantic roles & 50–950 ramp

primary
#DDC162
secondary
#3E56A5
accent
#42CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DDC162

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

Preview Lab → · Contrast checker → · Palette generator →

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