#DCC862#DCC862

#DCC862 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.125 H 98.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#DCC862
RGBrgb(220, 200, 98)
HSLhsl(50, 64%, 62%)
HSVhsv(50, 55%, 86%)
CMYKcmyk(0%, 9.1%, 55.5%, 13.7%)
CIE-LABlab(80.41, -5.63, 52.77)
CIE-LCHlch(80.41, 53.07, 96.09°)
OKLaboklab(82.92% -0.0182 0.1233)
OKLCHoklch(82.92% 0.125 98.4)
XYZxyz(52.3760, 57.4082, 19.8749)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC862 #6276DC
analogous
#DC8B62 #DCC862 #B3DC62
triadic
#DCC862 #62DCC8 #C862DC
tetradic
#DCC862 #62DC8B #6276DC #DC62B3
square
#DCC862 #62DC8B #6276DC #DC62B3
split-complementary
#DCC862 #62B3DC #8B62DC
monochromatic
#A08C24 #D1B630 #DCC862 #E7DA94 #F2EBC6

Accessibility & contrast

On white

1.68
#DCC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#DCC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC862
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC862#FFFFFF#000000##000000
##DCC8621.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C358
Deuteranopia (green-blind)
#DECB67
Tritanopia (blue-blind)
#EBBBB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc862;
/* rgb */ color: rgb(220, 200, 98);
/* oklch */ color: oklch(82.9% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#e9d892',
    500: '#dcc862',
    950: '#000000',
  },
}
SCSS
$custom: #dcc862;
$custom-light: #e9d892;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc862",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 50.164,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8292,
    "c": 0.12467,
    "h": 98.4
  },
  "luminance": 0.57406
}

Semantic roles & 50–950 ramp

primary
#DCC862
secondary
#3F4FA3
accent
#37CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC862

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

Preview Lab → · Contrast checker → · Palette generator →

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