#DCC95F#DCC95F

#DCC95F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.128 H 99.3°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DCC95F
RGBrgb(220, 201, 95)
HSLhsl(51, 64%, 62%)
HSVhsv(51, 57%, 86%)
CMYKcmyk(0%, 8.6%, 56.8%, 13.7%)
CIE-LABlab(80.64, -6.37, 54.42)
CIE-LCHlch(80.64, 54.80, 96.68°)
OKLaboklab(83.09% -0.0207 0.1266)
OKLCHoklch(83.09% 0.128 99.3)
XYZxyz(52.4693, 57.8173, 19.2203)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC95F #5F72DC
analogous
#DC8B5F #DCC95F #B1DC5F
triadic
#DCC95F #5FDCC9 #C95FDC
tetradic
#DCC95F #5FDC8B #5F72DC #DC5FB1
square
#DCC95F #5FDC8B #5F72DC #DC5FB1
split-complementary
#DCC95F #5FB1DC #8B5FDC
monochromatic
#9E8B23 #D0B82E #DCC95F #E7DA91 #F2EBC3

Accessibility & contrast

On white

1.67
#DCC95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#DCC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC95F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC95F#FFFFFF#000000##000000
##DCC95F1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#EBBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc95f;
/* rgb */ color: rgb(220, 201, 95);
/* oklch */ color: oklch(83.1% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#e9d990',
    500: '#dcc95f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc95f;
$custom-light: #e9d990;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc95f",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 50.88,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83091,
    "c": 0.12824,
    "h": 99.3
  },
  "luminance": 0.57815
}

Semantic roles & 50–950 ramp

primary
#DCC95F
secondary
#3E4DA2
accent
#35CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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