#DCC05E#DCC05E

#DCC05E is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.122 H 93.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#DCC05E
RGBrgb(220, 192, 94)
HSLhsl(47, 64%, 62%)
HSVhsv(47, 57%, 86%)
CMYKcmyk(0%, 12.7%, 57.3%, 13.7%)
CIE-LABlab(78.30, -1.80, 52.21)
CIE-LCHlch(78.30, 52.24, 91.98°)
OKLaboklab(81.24% -0.0076 0.1217)
OKLCHoklch(81.24% 0.122 93.6)
XYZxyz(50.3873, 53.7255, 18.3035)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC05E #5E7ADC
analogous
#DC815E #DCC05E #B9DC5E
triadic
#DCC05E #5EDCC0 #C05EDC
tetradic
#DCC05E #5EDC81 #5E7ADC #DC5EB9
square
#DCC05E #5EDC81 #5E7ADC #DC5EB9
split-complementary
#DCC05E #5EB9DC #815EDC
monochromatic
#9D8222 #D0AC2D #DCC05E #E7D490 #F2E7C3

Accessibility & contrast

On white

1.79
#DCC05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#DCC05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC05E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC05E#FFFFFF#000000##000000
##DCC05E1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD54
Deuteranopia (green-blind)
#D9C562
Tritanopia (blue-blind)
#ECB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc05e;
/* rgb */ color: rgb(220, 192, 94);
/* oklch */ color: oklch(81.2% 0.122 93.6);
Tailwind
colors: {
  custom: {
    50: '#ead28f',
    500: '#dcc05e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc05e;
$custom-light: #ead28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc05e",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 46.667,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.12191,
    "h": 93.6
  },
  "luminance": 0.53723
}

Semantic roles & 50–950 ramp

primary
#DCC05E
secondary
#3D53A1
accent
#41CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC05E

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

Preview Lab → · Contrast checker → · Palette generator →

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