#DCDA98#DCDA98

#DCDA98 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.4% C 0.085 H 106.6°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#DCDA98
RGBrgb(220, 218, 152)
HSLhsl(58, 49%, 73%)
HSVhsv(58, 31%, 86%)
CMYKcmyk(0%, 0.9%, 30.9%, 13.7%)
CIE-LABlab(85.82, -9.35, 32.82)
CIE-LCHlch(85.82, 34.12, 105.91°)
OKLaboklab(87.45% -0.0243 0.0817)
OKLCHoklch(87.45% 0.085 106.6)
XYZxyz(60.2545, 67.6265, 39.5788)
Luminance0.6763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA98 #989ADC
analogous
#DCB898 #DCDA98 #BCDC98
triadic
#DCDA98 #98DCDA #DA98DC
tetradic
#DCDA98 #98DCB8 #989ADC #DC98BC
square
#DCDA98 #98DCB8 #989ADC #DC98BC
split-complementary
#DCDA98 #98BCDC #B898DC
monochromatic
#BAB73F #CCCA6A #DCDA98 #ECEAC6 #F7F7E8

Accessibility & contrast

On white

1.45
#DCDA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#DCDA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA98
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA98#FFFFFF#000000##000000
##DCDA981.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D593
Deuteranopia (green-blind)
#E6D89B
Tritanopia (blue-blind)
#E6D2C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcda98;
/* rgb */ color: rgb(220, 218, 152);
/* oklch */ color: oklch(87.4% 0.085 106.6);
Tailwind
colors: {
  custom: {
    50: '#e7e5b7',
    500: '#dcda98',
    950: '#000000',
  },
}
SCSS
$custom: #dcda98;
$custom-light: #e7e5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda98",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 58.235,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87446,
    "c": 0.08525,
    "h": 106.6
  },
  "luminance": 0.67625
}

Semantic roles & 50–950 ramp

primary
#DCDA98
secondary
#6467B4
accent
#2DBD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCDA98

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

Preview Lab → · Contrast checker → · Palette generator →

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