#DCC25B#DCC25B

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

Color values

HEX#DCC25B
RGBrgb(220, 194, 91)
HSLhsl(48, 65%, 61%)
HSVhsv(48, 59%, 86%)
CMYKcmyk(0%, 11.8%, 58.6%, 13.7%)
CIE-LABlab(78.79, -3.06, 54.16)
CIE-LCHlch(78.79, 54.24, 93.24°)
OKLaboklab(81.61% -0.0116 0.1255)
OKLCHoklch(81.61% 0.126 95.3)
XYZxyz(50.6974, 54.5569, 17.7556)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC25B #5B75DC
analogous
#DC815B #DCC25B #B5DC5B
triadic
#DCC25B #5BDCC2 #C25BDC
tetradic
#DCC25B #5BDC81 #5B75DC #DC5BB5
square
#DCC25B #5BDC81 #5B75DC #DC5BB5
split-complementary
#DCC25B #5BB5DC #815BDC
monochromatic
#9B8321 #CEAD2C #DCC25B #E7D58D #F2E8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC25B#FFFFFF#000000##000000
##DCC25B1.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)
#D4BE51
Deuteranopia (green-blind)
#DAC760
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc25b;
/* rgb */ color: rgb(220, 194, 91);
/* oklch */ color: oklch(81.6% 0.126 95.3);
Tailwind
colors: {
  custom: {
    50: '#ead48d',
    500: '#dcc25b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc25b;
$custom-light: #ead48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc25b",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 47.907,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81612,
    "c": 0.12605,
    "h": 95.3
  },
  "luminance": 0.54555
}

Semantic roles & 50–950 ramp

primary
#DCC25B
secondary
#3C509F
accent
#3DCD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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