#DCD67F#DCD67F

#DCD67F is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.109 H 105.0°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#DCD67F
RGBrgb(220, 214, 127)
HSLhsl(56, 57%, 68%)
HSVhsv(56, 42%, 86%)
CMYKcmyk(0%, 2.7%, 42.3%, 13.7%)
CIE-LABlab(84.40, -10.15, 43.59)
CIE-LCHlch(84.40, 44.76, 103.11°)
OKLaboklab(86.2% -0.0283 0.1055)
OKLCHoklch(86.2% 0.109 105)
XYZxyz(57.3936, 64.8426, 29.5671)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD67F #7F85DC
analogous
#DCA77F #DCD67F #B3DC7F
triadic
#DCD67F #7FDCD6 #D67FDC
tetradic
#DCD67F #7FDCA7 #7F85DC #DC7FB3
square
#DCD67F #7FDCA7 #7F85DC #DC7FB3
split-complementary
#DCD67F #7FB3DC #A77FDC
monochromatic
#B0A830 #CFC74F #DCD67F #E9E5AF #F6F5DF

Accessibility & contrast

On white

1.50
#DCD67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#DCD67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD67F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD67F#FFFFFF#000000##000000
##DCD67F1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D078
Deuteranopia (green-blind)
#E6D583
Tritanopia (blue-blind)
#E8CCC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd67f;
/* rgb */ color: rgb(220, 214, 127);
/* oklch */ color: oklch(86.2% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#e8e2a5',
    500: '#dcd67f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd67f;
$custom-light: #e8e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd67f",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 127
  },
  "hsl": {
    "h": 56.129,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.862,
    "c": 0.1092,
    "h": 105
  },
  "luminance": 0.64841
}

Semantic roles & 50–950 ramp

primary
#DCD67F
secondary
#4D53B2
accent
#2BC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD67F

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

Preview Lab → · Contrast checker → · Palette generator →

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