#DCC35F#DCC35F

#DCC35F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.123 H 95.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DCC35F
RGBrgb(220, 195, 95)
HSLhsl(48, 64%, 62%)
HSVhsv(48, 57%, 86%)
CMYKcmyk(0%, 11.4%, 56.8%, 13.7%)
CIE-LABlab(79.08, -3.29, 52.64)
CIE-LCHlch(79.08, 52.74, 93.57°)
OKLaboklab(81.86% -0.0118 0.1227)
OKLCHoklch(81.86% 0.123 95.5)
XYZxyz(51.0979, 55.0744, 18.7632)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC35F #5F78DC
analogous
#DC855F #DCC35F #B7DC5F
triadic
#DCC35F #5FDCC3 #C35FDC
tetradic
#DCC35F #5FDC85 #5F78DC #DC5FB7
square
#DCC35F #5FDC85 #5F78DC #DC5FB7
split-complementary
#DCC35F #5FB7DC #855FDC
monochromatic
#9E8523 #D0B02E #DCC35F #E7D691 #F2E9C3

Accessibility & contrast

On white

1.75
#DCC35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#DCC35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC35F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC35F#FFFFFF#000000##000000
##DCC35F1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#DBC763
Tritanopia (blue-blind)
#ECB6AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc35f;
/* rgb */ color: rgb(220, 195, 95);
/* oklch */ color: oklch(81.9% 0.123 95.5);
Tailwind
colors: {
  custom: {
    50: '#ead48f',
    500: '#dcc35f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc35f;
$custom-light: #ead48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc35f",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 95
  },
  "hsl": {
    "h": 48,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81861,
    "c": 0.12328,
    "h": 95.5
  },
  "luminance": 0.55072
}

Semantic roles & 50–950 ramp

primary
#DCC35F
secondary
#3E52A2
accent
#3DCC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC35F

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

Preview Lab → · Contrast checker → · Palette generator →

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