#DCC25C#DCC25C

#DCC25C is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.125 H 95.2°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DCC25C
RGBrgb(220, 194, 92)
HSLhsl(48, 65%, 61%)
HSVhsv(48, 58%, 86%)
CMYKcmyk(0%, 11.8%, 58.2%, 13.7%)
CIE-LABlab(78.80, -2.99, 53.71)
CIE-LCHlch(78.80, 53.79, 93.19°)
OKLaboklab(81.62% -0.0113 0.1247)
OKLCHoklch(81.62% 0.125 95.2)
XYZxyz(50.7408, 54.5743, 17.9843)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC25C #5C76DC
analogous
#DC825C #DCC25C #B6DC5C
triadic
#DCC25C #5CDCC2 #C25CDC
tetradic
#DCC25C #5CDC82 #5C76DC #DC5CB6
square
#DCC25C #5CDC82 #5C76DC #DC5CB6
split-complementary
#DCC25C #5CB6DC #825CDC
monochromatic
#9C8322 #CEAE2C #DCC25C #E7D58E #F2E8C1

Accessibility & contrast

On white

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

On black

11.91
#DCC25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC25C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC25C#FFFFFF#000000##000000
##DCC25C1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE52
Deuteranopia (green-blind)
#DAC761
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc25c;
/* rgb */ color: rgb(220, 194, 92);
/* oklch */ color: oklch(81.6% 0.125 95.2);
Tailwind
colors: {
  custom: {
    50: '#ead48d',
    500: '#dcc25c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc25c;
$custom-light: #ead48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc25c",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 92
  },
  "hsl": {
    "h": 47.813,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81623,
    "c": 0.12518,
    "h": 95.2
  },
  "luminance": 0.54572
}

Semantic roles & 50–950 ramp

primary
#DCC25C
secondary
#3C51A0
accent
#3DCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC25C

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

Preview Lab → · Contrast checker → · Palette generator →

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