#DCC245#DCC245

#DCC245 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.143 H 97.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DCC245
RGBrgb(220, 194, 69)
HSLhsl(50, 68%, 57%)
HSVhsv(50, 69%, 86%)
CMYKcmyk(0%, 11.8%, 68.6%, 13.7%)
CIE-LABlab(78.60, -4.43, 63.44)
CIE-LCHlch(78.60, 63.60, 93.99°)
OKLaboklab(81.4% -0.0181 0.142)
OKLCHoklch(81.4% 0.143 97.3)
XYZxyz(49.8835, 54.2314, 13.4693)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC245 #455FDC
analogous
#DC7745 #DCC245 #ABDC45
triadic
#DCC245 #45DCC2 #C245DC
tetradic
#DCC245 #45DC77 #455FDC #DC45AB
square
#DCC245 #45DC77 #455FDC #DC45AB
split-complementary
#DCC245 #45ABDC #7745DC
monochromatic
#8C791A #C0A524 #DCC245 #E6D379 #EFE4AC

Accessibility & contrast

On white

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

On black

11.85
#DCC245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC245
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC245#FFFFFF#000000##000000
##DCC2451.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE34
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#EDB4A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc245;
/* rgb */ color: rgb(220, 194, 69);
/* oklch */ color: oklch(81.4% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#ebd47f',
    500: '#dcc245',
    950: '#000000',
  },
}
SCSS
$custom: #dcc245;
$custom-light: #ebd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc245",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 49.669,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81401,
    "c": 0.14319,
    "h": 97.3
  },
  "luminance": 0.54229
}

Semantic roles & 50–950 ramp

primary
#DCC245
secondary
#334492
accent
#5BEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC245

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

Preview Lab → · Contrast checker → · Palette generator →

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