#DCDA7B#DCDA7B

#DCDA7B is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.118 H 107.6°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#DCDA7B
RGBrgb(220, 218, 123)
HSLhsl(59, 58%, 67%)
HSVhsv(59, 44%, 86%)
CMYKcmyk(0%, 0.9%, 44.1%, 13.7%)
CIE-LABlab(85.40, -12.56, 46.79)
CIE-LCHlch(85.40, 48.45, 105.03°)
OKLaboklab(86.97% -0.0355 0.1124)
OKLCHoklch(86.97% 0.118 107.6)
XYZxyz(58.1629, 66.7899, 28.5629)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA7B #7B7DDC
analogous
#DCAA7B #DCDA7B #AEDC7B
triadic
#DCDA7B #7BDCDA #DA7BDC
tetradic
#DCDA7B #7BDCAA #7B7DDC #DC7BAE
square
#DCDA7B #7BDCAA #7B7DDC #DC7BAE
split-complementary
#DCDA7B #7BAEDC #AA7BDC
monochromatic
#AEAC2E #CFCC4B #DCDA7B #E9E8AB #F6F5DC

Accessibility & contrast

On white

1.46
#DCDA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#DCDA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA7B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA7B#FFFFFF#000000##000000
##DCDA7B1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D373
Deuteranopia (green-blind)
#EAD77F
Tritanopia (blue-blind)
#E8CFC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda7b;
/* rgb */ color: rgb(220, 218, 123);
/* oklch */ color: oklch(87.0% 0.118 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e5a3',
    500: '#dcda7b',
    950: '#000000',
  },
}
SCSS
$custom: #dcda7b;
$custom-light: #e8e5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda7b",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 58.763,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86974,
    "c": 0.11787,
    "h": 107.6
  },
  "luminance": 0.66789
}

Semantic roles & 50–950 ramp

primary
#DCDA7B
secondary
#4B4DB1
accent
#23C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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