#DDC271#DDC271

#DDC271 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 82.0% C 0.106 H 91.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DDC271
RGBrgb(221, 194, 113)
HSLhsl(45, 61%, 65%)
HSVhsv(45, 49%, 87%)
CMYKcmyk(0%, 12.2%, 48.9%, 13.3%)
CIE-LABlab(79.13, -0.85, 44.01)
CIE-LCHlch(79.13, 44.02, 91.11°)
OKLaboklab(81.99% -0.0028 0.1055)
OKLCHoklch(81.99% 0.106 91.5)
XYZxyz(52.0930, 55.1503, 23.5207)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC271 #718CDD
analogous
#DD8C71 #DDC271 #C2DD71
triadic
#DDC271 #71DDC2 #C271DD
tetradic
#DDC271 #71DD8C #718CDD #DD71C2
square
#DDC271 #71DD8C #718CDD #DD71C2
split-complementary
#DDC271 #71C2DD #8C71DD
monochromatic
#AB8A29 #D1AD40 #DDC271 #E9D7A2 #F5ECD4

Accessibility & contrast

On white

1.75
#DDC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DDC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC271
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC271#FFFFFF#000000##000000
##DDC2711.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF6A
Deuteranopia (green-blind)
#D9C774
Tritanopia (blue-blind)
#ECB6AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ddc271;
/* rgb */ color: rgb(221, 194, 113);
/* oklch */ color: oklch(82.0% 0.106 91.5);
Tailwind
colors: {
  custom: {
    50: '#ead49b',
    500: '#ddc271',
    950: '#000000',
  },
}
SCSS
$custom: #ddc271;
$custom-light: #ead49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc271",
  "rgb": {
    "r": 221,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 45,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81985,
    "c": 0.10551,
    "h": 91.5
  },
  "luminance": 0.55148
}

Semantic roles & 50–950 ramp

primary
#DDC271
secondary
#455FAD
accent
#48C91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DDC271

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

Preview Lab → · Contrast checker → · Palette generator →

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