#DCC154#DCC154

#DCC154 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.131 H 95.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#DCC154
RGBrgb(220, 193, 84)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 62%, 86%)
CMYKcmyk(0%, 12.3%, 61.8%, 13.7%)
CIE-LABlab(78.46, -3.03, 56.96)
CIE-LCHlch(78.46, 57.04, 93.04°)
OKLaboklab(81.33% -0.0123 0.1306)
OKLCHoklch(81.33% 0.131 95.4)
XYZxyz(50.1876, 53.9981, 16.1649)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC154 #546FDC
analogous
#DC7D54 #DCC154 #B3DC54
triadic
#DCC154 #54DCC1 #C154DC
tetradic
#DCC154 #54DC7D #546FDC #DC54B3
square
#DCC154 #54DC7D #546FDC #DC54B3
split-complementary
#DCC154 #54B3DC #7D54DC
monochromatic
#977F1F #CAAA29 #DCC154 #E6D387 #F1E6BA

Accessibility & contrast

On white

1.78
#DCC154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#DCC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC154
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC154#FFFFFF#000000##000000
##DCC1541.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#ECB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc154;
/* rgb */ color: rgb(220, 193, 84);
/* oklch */ color: oklch(81.3% 0.131 95.4);
Tailwind
colors: {
  custom: {
    50: '#ead388',
    500: '#dcc154',
    950: '#000000',
  },
}
SCSS
$custom: #dcc154;
$custom-light: #ead388;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc154",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 48.088,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81333,
    "c": 0.13119,
    "h": 95.4
  },
  "luminance": 0.53996
}

Semantic roles & 50–950 ramp

primary
#DCC154
secondary
#394D9B
accent
#61E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC154

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

Preview Lab → · Contrast checker → · Palette generator →

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