#DCC25D#DCC25D

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

Color values

HEX#DCC25D
RGBrgb(220, 194, 93)
HSLhsl(48, 64%, 61%)
HSVhsv(48, 58%, 86%)
CMYKcmyk(0%, 11.8%, 57.7%, 13.7%)
CIE-LABlab(78.81, -2.92, 53.25)
CIE-LCHlch(78.81, 53.33, 93.14°)
OKLaboklab(81.63% -0.0109 0.1238)
OKLCHoklch(81.63% 0.124 95.1)
XYZxyz(50.7848, 54.5919, 18.2161)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC25D #5D77DC
analogous
#DC835D #DCC25D #B6DC5D
triadic
#DCC25D #5DDCC2 #C25DDC
tetradic
#DCC25D #5DDC83 #5D77DC #DC5DB6
square
#DCC25D #5DDC83 #5D77DC #DC5DB6
split-complementary
#DCC25D #5DB6DC #835DDC
monochromatic
#9D8422 #CFAE2D #DCC25D #E7D58F #F2E8C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC25D#FFFFFF#000000##000000
##DCC25D1.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)
#D3BE53
Deuteranopia (green-blind)
#DAC761
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc25d;
/* rgb */ color: rgb(220, 194, 93);
/* oklch */ color: oklch(81.6% 0.124 95.1);
Tailwind
colors: {
  custom: {
    50: '#ead48e',
    500: '#dcc25d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc25d;
$custom-light: #ead48e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc25d",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 47.717,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81634,
    "c": 0.12429,
    "h": 95.1
  },
  "luminance": 0.5459
}

Semantic roles & 50–950 ramp

primary
#DCC25D
secondary
#3D51A1
accent
#3ECC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC25D

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

Preview Lab → · Contrast checker → · Palette generator →

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