#DCC251#DCC251

#DCC251 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.134 H 96.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#DCC251
RGBrgb(220, 194, 81)
HSLhsl(49, 67%, 59%)
HSVhsv(49, 63%, 86%)
CMYKcmyk(0%, 11.8%, 63.2%, 13.7%)
CIE-LABlab(78.69, -3.74, 58.53)
CIE-LCHlch(78.69, 58.65, 93.65°)
OKLaboklab(81.51% -0.0147 0.1335)
OKLCHoklch(81.51% 0.134 96.3)
XYZxyz(50.2944, 54.3957, 15.6332)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC251 #516BDC
analogous
#DC7D51 #DCC251 #B1DC51
triadic
#DCC251 #51DCC2 #C251DC
tetradic
#DCC251 #51DC7D #516BDC #DC51B1
square
#DCC251 #51DC7D #516BDC #DC51B1
split-complementary
#DCC251 #51B1DC #7D51DC
monochromatic
#957E1E #C8AA28 #DCC251 #E6D484 #F0E6B7

Accessibility & contrast

On white

1.77
#DCC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#DCC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC251
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC251#FFFFFF#000000##000000
##DCC2511.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#ECB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc251;
/* rgb */ color: rgb(220, 194, 81);
/* oklch */ color: oklch(81.5% 0.134 96.3);
Tailwind
colors: {
  custom: {
    50: '#ead486',
    500: '#dcc251',
    950: '#000000',
  },
}
SCSS
$custom: #dcc251;
$custom-light: #ead486;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc251",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 48.777,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81508,
    "c": 0.13434,
    "h": 96.3
  },
  "luminance": 0.54393
}

Semantic roles & 50–950 ramp

primary
#DCC251
secondary
#384A99
accent
#5EE93E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC251

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

Preview Lab → · Contrast checker → · Palette generator →

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