#DCD58F#DCD58F

#DCD58F is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.090 H 103.2°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#DCD58F
RGBrgb(220, 213, 143)
HSLhsl(55, 52%, 71%)
HSVhsv(55, 35%, 86%)
CMYKcmyk(0%, 3.2%, 35%, 13.7%)
CIE-LABlab(84.37, -7.90, 35.51)
CIE-LCHlch(84.37, 36.38, 102.54°)
OKLaboklab(86.25% -0.0206 0.0877)
OKLCHoklch(86.25% 0.09 103.2)
XYZxyz(58.2681, 64.7887, 35.4173)
Luminance0.6479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD58F #8F96DC
analogous
#DCAE8F #DCD58F #BCDC8F
triadic
#DCD58F #8FDCD5 #D58FDC
tetradic
#DCD58F #8FDCAE #8F96DC #DC8FBC
square
#DCD58F #8FDCAE #8F96DC #DC8FBC
split-complementary
#DCD58F #8FBCDC #AE8FDC
monochromatic
#B7AC39 #CDC460 #DCD58F #EBE6BE #F8F6E8

Accessibility & contrast

On white

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

On black

13.96
#DCD58F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD58F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD58F#FFFFFF#000000##000000
##DCD58F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D08A
Deuteranopia (green-blind)
#E4D492
Tritanopia (blue-blind)
#E7CCC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd58f;
/* rgb */ color: rgb(220, 213, 143);
/* oklch */ color: oklch(86.3% 0.090 103.2);
Tailwind
colors: {
  custom: {
    50: '#e8e1b0',
    500: '#dcd58f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd58f;
$custom-light: #e8e1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd58f",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 143
  },
  "hsl": {
    "h": 54.545,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86254,
    "c": 0.09012,
    "h": 103.2
  },
  "luminance": 0.64787
}

Semantic roles & 50–950 ramp

primary
#DCD58F
secondary
#5C64B3
accent
#34C026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD58F

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

Preview Lab → · Contrast checker → · Palette generator →

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