#DCD97A#DCD97A

#DCD97A is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.118 H 107.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DCD97A
RGBrgb(220, 217, 122)
HSLhsl(58, 58%, 67%)
HSVhsv(58, 45%, 86%)
CMYKcmyk(0%, 1.4%, 44.5%, 13.7%)
CIE-LABlab(85.12, -12.16, 46.94)
CIE-LCHlch(85.12, 48.49, 104.52°)
OKLaboklab(86.75% -0.0345 0.1126)
OKLCHoklch(86.75% 0.118 107)
XYZxyz(57.8421, 66.2479, 28.1487)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD97A #7A7DDC
analogous
#DCA87A #DCD97A #AEDC7A
triadic
#DCD97A #7ADCD9 #D97ADC
tetradic
#DCD97A #7ADCA8 #7A7DDC #DC7AAE
square
#DCD97A #7ADCA8 #7A7DDC #DC7AAE
split-complementary
#DCD97A #7AAEDC #A87ADC
monochromatic
#AEAA2E #CFCB4A #DCD97A #E9E7AA #F6F5DB

Accessibility & contrast

On white

1.47
#DCD97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#DCD97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD97A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD97A#FFFFFF#000000##000000
##DCD97A1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D272
Deuteranopia (green-blind)
#E9D77E
Tritanopia (blue-blind)
#E8CEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd97a;
/* rgb */ color: rgb(220, 217, 122);
/* oklch */ color: oklch(86.8% 0.118 107.0);
Tailwind
colors: {
  custom: {
    50: '#e8e4a2',
    500: '#dcd97a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd97a;
$custom-light: #e8e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd97a",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 58.163,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86751,
    "c": 0.1178,
    "h": 107
  },
  "luminance": 0.66246
}

Semantic roles & 50–950 ramp

primary
#DCD97A
secondary
#4A4DB0
accent
#25C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD97A

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

Preview Lab → · Contrast checker → · Palette generator →

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