#DCC259#DCC259

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

Color values

HEX#DCC259
RGBrgb(220, 194, 89)
HSLhsl(48, 65%, 61%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 11.8%, 59.5%, 13.7%)
CIE-LABlab(78.77, -3.20, 55.05)
CIE-LCHlch(78.77, 55.14, 93.33°)
OKLaboklab(81.59% -0.0122 0.1272)
OKLCHoklch(81.59% 0.128 95.5)
XYZxyz(50.6123, 54.5229, 17.3073)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC259 #5973DC
analogous
#DC8159 #DCC259 #B4DC59
triadic
#DCC259 #59DCC2 #C259DC
tetradic
#DCC259 #59DC81 #5973DC #DC59B4
square
#DCC259 #59DC81 #5973DC #DC59B4
split-complementary
#DCC259 #59B4DC #8159DC
monochromatic
#9A8220 #CDAD2B #DCC259 #E7D58C #F1E7BE

Accessibility & contrast

On white

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

On black

11.90
#DCC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC259
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC259#FFFFFF#000000##000000
##DCC2591.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4E
Deuteranopia (green-blind)
#DAC75E
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc259;
/* rgb */ color: rgb(220, 194, 89);
/* oklch */ color: oklch(81.6% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#ead48b',
    500: '#dcc259',
    950: '#000000',
  },
}
SCSS
$custom: #dcc259;
$custom-light: #ead48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc259",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 48.092,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.12777,
    "h": 95.5
  },
  "luminance": 0.5452
}

Semantic roles & 50–950 ramp

primary
#DCC259
secondary
#3B4F9E
accent
#3CCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC259

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

Preview Lab → · Contrast checker → · Palette generator →

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