#DCC25A#DCC25A

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

Color values

HEX#DCC25A
RGBrgb(220, 194, 90)
HSLhsl(48, 65%, 61%)
HSVhsv(48, 59%, 86%)
CMYKcmyk(0%, 11.8%, 59.1%, 13.7%)
CIE-LABlab(78.78, -3.13, 54.60)
CIE-LCHlch(78.78, 54.69, 93.28°)
OKLaboklab(81.6% -0.0119 0.1264)
OKLCHoklch(81.6% 0.127 95.4)
XYZxyz(50.6546, 54.5398, 17.5300)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC25A #5A74DC
analogous
#DC815A #DCC25A #B5DC5A
triadic
#DCC25A #5ADCC2 #C25ADC
tetradic
#DCC25A #5ADC81 #5A74DC #DC5AB5
square
#DCC25A #5ADC81 #5A74DC #DC5AB5
split-complementary
#DCC25A #5AB5DC #815ADC
monochromatic
#9B8221 #CDAD2C #DCC25A #E7D58C #F1E7BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC25A#FFFFFF#000000##000000
##DCC25A1.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)
#D4BE4F
Deuteranopia (green-blind)
#DAC75F
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc25a;
/* rgb */ color: rgb(220, 194, 90);
/* oklch */ color: oklch(81.6% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#ead48c',
    500: '#dcc25a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc25a;
$custom-light: #ead48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc25a",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 90
  },
  "hsl": {
    "h": 48,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.12691,
    "h": 95.4
  },
  "luminance": 0.54537
}

Semantic roles & 50–950 ramp

primary
#DCC25A
secondary
#3B4F9F
accent
#3DCD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC25A

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

Preview Lab → · Contrast checker → · Palette generator →

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