#DDCD5F#DDCD5F

#DDCD5F is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.132 H 101.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#DDCD5F
RGBrgb(221, 205, 95)
HSLhsl(52, 65%, 62%)
HSVhsv(52, 57%, 87%)
CMYKcmyk(0%, 7.2%, 57%, 13.3%)
CIE-LABlab(81.76, -8.00, 55.73)
CIE-LCHlch(81.76, 56.30, 98.17°)
OKLaboklab(84% -0.0254 0.1293)
OKLCHoklch(84% 0.132 101.1)
XYZxyz(53.7176, 59.8631, 19.5494)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCD5F #5F6FDD
analogous
#DD8E5F #DDCD5F #AEDD5F
triadic
#DDCD5F #5FDDCD #CD5FDD
tetradic
#DDCD5F #5FDD8E #5F6FDD #DD5FAE
square
#DDCD5F #5FDD8E #5F6FDD #DD5FAE
split-complementary
#DDCD5F #5FAEDD #8E5FDD
monochromatic
#A09022 #D2BD2D #DDCD5F #E8DD91 #F2EDC4

Accessibility & contrast

On white

1.62
#DDCD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#DDCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCD5F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCD5F#FFFFFF#000000##000000
##DDCD5F1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC754
Deuteranopia (green-blind)
#E3CE64
Tritanopia (blue-blind)
#ECC0B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ddcd5f;
/* rgb */ color: rgb(221, 205, 95);
/* oklch */ color: oklch(84.0% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#eadc90',
    500: '#ddcd5f',
    950: '#000000',
  },
}
SCSS
$custom: #ddcd5f;
$custom-light: #eadc90;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcd5f",
  "rgb": {
    "r": 221,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 52.381,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84004,
    "c": 0.13181,
    "h": 101.1
  },
  "luminance": 0.59861
}

Semantic roles & 50–950 ramp

primary
#DDCD5F
secondary
#3D4AA3
accent
#30CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DDCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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