#DCC15F#DCC15F

#DCC15F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.122 H 94.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#DCC15F
RGBrgb(220, 193, 95)
HSLhsl(47, 64%, 62%)
HSVhsv(47, 57%, 86%)
CMYKcmyk(0%, 12.3%, 56.8%, 13.7%)
CIE-LABlab(78.57, -2.25, 52.05)
CIE-LCHlch(78.57, 52.10, 92.47°)
OKLaboklab(81.45% -0.0088 0.1214)
OKLCHoklch(81.45% 0.122 94.1)
XYZxyz(50.6528, 54.1842, 18.6148)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC15F #5F7ADC
analogous
#DC835F #DCC15F #B9DC5F
triadic
#DCC15F #5FDCC1 #C15FDC
tetradic
#DCC15F #5FDC83 #5F7ADC #DC5FB9
square
#DCC15F #5FDC83 #5F7ADC #DC5FB9
split-complementary
#DCC15F #5FB9DC #835FDC
monochromatic
#9E8323 #D0AD2E #DCC15F #E7D491 #F2E8C3

Accessibility & contrast

On white

1.77
#DCC15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#DCC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC15F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC15F#FFFFFF#000000##000000
##DCC15F1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE56
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#ECB4AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc15f;
/* rgb */ color: rgb(220, 193, 95);
/* oklch */ color: oklch(81.5% 0.122 94.1);
Tailwind
colors: {
  custom: {
    50: '#ead38f',
    500: '#dcc15f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc15f;
$custom-light: #ead38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc15f",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 47.04,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81454,
    "c": 0.12176,
    "h": 94.1
  },
  "luminance": 0.54182
}

Semantic roles & 50–950 ramp

primary
#DCC15F
secondary
#3E53A2
accent
#40CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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