#DCC25E#DCC25E

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

Color values

HEX#DCC25E
RGBrgb(220, 194, 94)
HSLhsl(48, 64%, 62%)
HSVhsv(48, 57%, 86%)
CMYKcmyk(0%, 11.8%, 57.3%, 13.7%)
CIE-LABlab(78.82, -2.84, 52.80)
CIE-LCHlch(78.82, 52.88, 93.08°)
OKLaboklab(81.65% -0.0106 0.123)
OKLCHoklch(81.65% 0.123 94.9)
XYZxyz(50.8294, 54.6097, 18.4509)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC25E #5E78DC
analogous
#DC835E #DCC25E #B7DC5E
triadic
#DCC25E #5EDCC2 #C25EDC
tetradic
#DCC25E #5EDC83 #5E78DC #DC5EB7
square
#DCC25E #5EDC83 #5E78DC #DC5EB7
split-complementary
#DCC25E #5EB7DC #835EDC
monochromatic
#9D8422 #D0AE2D #DCC25E #E7D590 #F2E8C3

Accessibility & contrast

On white

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

On black

11.92
#DCC25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC25E
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC25E#FFFFFF#000000##000000
##DCC25E1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc25e;
/* rgb */ color: rgb(220, 194, 94);
/* oklch */ color: oklch(81.6% 0.123 94.9);
Tailwind
colors: {
  custom: {
    50: '#ead48f',
    500: '#dcc25e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc25e;
$custom-light: #ead48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc25e",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 47.619,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81646,
    "c": 0.12341,
    "h": 94.9
  },
  "luminance": 0.54607
}

Semantic roles & 50–950 ramp

primary
#DCC25E
secondary
#3D52A1
accent
#3ECC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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