#DCD274#DCD274

#DCD274 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.117 H 103.2°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#DCD274
RGBrgb(220, 210, 116)
HSLhsl(54, 60%, 66%)
HSVhsv(54, 47%, 86%)
CMYKcmyk(0%, 4.5%, 47.3%, 13.7%)
CIE-LABlab(83.22, -9.20, 47.52)
CIE-LCHlch(83.22, 48.41, 100.96°)
OKLaboklab(85.21% -0.0266 0.1135)
OKLCHoklch(85.21% 0.117 103.2)
XYZxyz(55.7156, 62.5715, 25.6622)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD274 #747EDC
analogous
#DC9E74 #DCD274 #B2DC74
triadic
#DCD274 #74DCD2 #D274DC
tetradic
#DCD274 #74DC9E #747EDC #DC74B2
square
#DCD274 #74DC9E #747EDC #DC74B2
split-complementary
#DCD274 #74B2DC #9E74DC
monochromatic
#AB9E2B #D0C243 #DCD274 #E8E2A5 #F5F2D6

Accessibility & contrast

On white

1.55
#DCD274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#DCD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD274
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD274#FFFFFF#000000##000000
##DCD2741.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6C
Deuteranopia (green-blind)
#E4D278
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd274;
/* rgb */ color: rgb(220, 210, 116);
/* oklch */ color: oklch(85.2% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#e9df9e',
    500: '#dcd274',
    950: '#000000',
  },
}
SCSS
$custom: #dcd274;
$custom-light: #e9df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd274",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 54.231,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85212,
    "c": 0.11656,
    "h": 103.2
  },
  "luminance": 0.6257
}

Semantic roles & 50–950 ramp

primary
#DCD274
secondary
#4751AD
accent
#2EC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD274

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

Preview Lab → · Contrast checker → · Palette generator →

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