#DCC262#DCC262

#DCC262 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.120 H 94.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#DCC262
RGBrgb(220, 194, 98)
HSLhsl(47, 64%, 62%)
HSVhsv(47, 55%, 86%)
CMYKcmyk(0%, 11.8%, 55.5%, 13.7%)
CIE-LABlab(78.86, -2.54, 50.97)
CIE-LCHlch(78.86, 51.03, 92.85°)
OKLaboklab(81.69% -0.0093 0.1194)
OKLCHoklch(81.69% 0.12 94.4)
XYZxyz(51.0136, 54.6834, 19.4208)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC262 #627CDC
analogous
#DC8562 #DCC262 #B9DC62
triadic
#DCC262 #62DCC2 #C262DC
tetradic
#DCC262 #62DC85 #627CDC #DC62B9
square
#DCC262 #62DC85 #627CDC #DC62B9
split-complementary
#DCC262 #62B9DC #8562DC
monochromatic
#A08524 #D1AF30 #DCC262 #E7D594 #F2E9C6

Accessibility & contrast

On white

1.76
#DCC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#DCC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC262
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC262#FFFFFF#000000##000000
##DCC2621.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF59
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#ECB5AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc262;
/* rgb */ color: rgb(220, 194, 98);
/* oklch */ color: oklch(81.7% 0.120 94.4);
Tailwind
colors: {
  custom: {
    50: '#e9d491',
    500: '#dcc262',
    950: '#000000',
  },
}
SCSS
$custom: #dcc262;
$custom-light: #e9d491;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc262",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 47.213,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81693,
    "c": 0.11979,
    "h": 94.4
  },
  "luminance": 0.54681
}

Semantic roles & 50–950 ramp

primary
#DCC262
secondary
#3F54A3
accent
#40CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC262

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

Preview Lab → · Contrast checker → · Palette generator →

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