#DCD28F#DCD28F

#DCD28F is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.087 H 100.8°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DCD28F
RGBrgb(220, 210, 143)
HSLhsl(52, 52%, 71%)
HSVhsv(52, 35%, 86%)
CMYKcmyk(0%, 4.5%, 35%, 13.7%)
CIE-LABlab(83.60, -6.37, 34.50)
CIE-LCHlch(83.60, 35.08, 100.46°)
OKLaboklab(85.64% -0.0162 0.0854)
OKLCHoklch(85.64% 0.087 100.8)
XYZxyz(57.5205, 63.2935, 35.1681)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD28F #8F99DC
analogous
#DCAB8F #DCD28F #BFDC8F
triadic
#DCD28F #8FDCD2 #D28FDC
tetradic
#DCD28F #8FDCAB #8F99DC #DC8FBF
square
#DCD28F #8FDCAB #8F99DC #DC8FBF
split-complementary
#DCD28F #8FBFDC #AB8FDC
monochromatic
#B7A739 #CDBF60 #DCD28F #EBE5BE #F8F6E8

Accessibility & contrast

On white

1.54
#DCD28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#DCD28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD28F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD28F#FFFFFF#000000##000000
##DCD28F1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8A
Deuteranopia (green-blind)
#E1D292
Tritanopia (blue-blind)
#E7C9C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd28f;
/* rgb */ color: rgb(220, 210, 143);
/* oklch */ color: oklch(85.6% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#e8dfb0',
    500: '#dcd28f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd28f;
$custom-light: #e8dfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd28f",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 143
  },
  "hsl": {
    "h": 52.208,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85637,
    "c": 0.0869,
    "h": 100.8
  },
  "luminance": 0.63292
}

Semantic roles & 50–950 ramp

primary
#DCD28F
secondary
#5C67B3
accent
#3AC026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD28F

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

Preview Lab → · Contrast checker → · Palette generator →

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