#DCC274#DCC274

#DCC274 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.102 H 91.6°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DCC274
RGBrgb(220, 194, 116)
HSLhsl(45, 60%, 66%)
HSVhsv(45, 47%, 86%)
CMYKcmyk(0%, 11.8%, 47.3%, 13.7%)
CIE-LABlab(79.08, -0.98, 42.43)
CIE-LCHlch(79.08, 42.44, 91.32°)
OKLaboklab(81.94% -0.0028 0.1022)
OKLCHoklch(81.94% 0.102 91.6)
XYZxyz(51.9610, 55.0624, 24.4107)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC274 #748EDC
analogous
#DC8E74 #DCC274 #C2DC74
triadic
#DCC274 #74DCC2 #C274DC
tetradic
#DCC274 #74DC8E #748EDC #DC74C2
square
#DCC274 #74DC8E #748EDC #DC74C2
split-complementary
#DCC274 #74C2DC #8E74DC
monochromatic
#AB8B2B #D0AD43 #DCC274 #E8D7A5 #F5EDD6

Accessibility & contrast

On white

1.75
#DCC274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#DCC274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC274
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC274#FFFFFF#000000##000000
##DCC2741.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF6E
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#EAB7AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc274;
/* rgb */ color: rgb(220, 194, 116);
/* oklch */ color: oklch(81.9% 0.102 91.6);
Tailwind
colors: {
  custom: {
    50: '#e9d49d',
    500: '#dcc274',
    950: '#000000',
  },
}
SCSS
$custom: #dcc274;
$custom-light: #e9d49d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc274",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 116
  },
  "hsl": {
    "h": 45,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81936,
    "c": 0.1022,
    "h": 91.6
  },
  "luminance": 0.5506
}

Semantic roles & 50–950 ramp

primary
#DCC274
secondary
#4761AD
accent
#48C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC274

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

Preview Lab → · Contrast checker → · Palette generator →

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