#DCC45F#DCC45F

#DCC45F is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.1% C 0.124 H 96.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#DCC45F
RGBrgb(220, 196, 95)
HSLhsl(48, 64%, 62%)
HSVhsv(48, 57%, 86%)
CMYKcmyk(0%, 10.9%, 56.8%, 13.7%)
CIE-LABlab(79.34, -3.80, 52.94)
CIE-LCHlch(79.34, 53.08, 94.11°)
OKLaboklab(82.07% -0.0133 0.1234)
OKLCHoklch(82.07% 0.124 96.1)
XYZxyz(51.3227, 55.5240, 18.8381)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC45F #5F77DC
analogous
#DC865F #DCC45F #B6DC5F
triadic
#DCC45F #5FDCC4 #C45FDC
tetradic
#DCC45F #5FDC86 #5F77DC #DC5FB6
square
#DCC45F #5FDC86 #5F77DC #DC5FB6
split-complementary
#DCC45F #5FB6DC #865FDC
monochromatic
#9E8623 #D0B12E #DCC45F #E7D791 #F2E9C3

Accessibility & contrast

On white

1.73
#DCC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#DCC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC45F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC45F#FFFFFF#000000##000000
##DCC45F1.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DBC864
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc45f;
/* rgb */ color: rgb(220, 196, 95);
/* oklch */ color: oklch(82.1% 0.124 96.1);
Tailwind
colors: {
  custom: {
    50: '#ead58f',
    500: '#dcc45f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc45f;
$custom-light: #ead58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc45f",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 48.48,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82065,
    "c": 0.12407,
    "h": 96.1
  },
  "luminance": 0.55522
}

Semantic roles & 50–950 ramp

primary
#DCC45F
secondary
#3E51A2
accent
#3CCC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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