#DCC95B#DCC95B

#DCC95B is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.132 H 99.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#DCC95B
RGBrgb(220, 201, 91)
HSLhsl(51, 65%, 61%)
HSVhsv(51, 59%, 86%)
CMYKcmyk(0%, 8.6%, 58.6%, 13.7%)
CIE-LABlab(80.60, -6.67, 56.20)
CIE-LCHlch(80.60, 56.59, 96.76°)
OKLaboklab(83.05% -0.022 0.1299)
OKLCHoklch(83.05% 0.132 99.6)
XYZxyz(52.2922, 57.7464, 18.2872)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC95B #5B6EDC
analogous
#DC885B #DCC95B #AEDC5B
triadic
#DCC95B #5BDCC9 #C95BDC
tetradic
#DCC95B #5BDC88 #5B6EDC #DC5BAE
square
#DCC95B #5BDC88 #5B6EDC #DC5BAE
split-complementary
#DCC95B #5BAEDC #885BDC
monochromatic
#9B8921 #CEB62C #DCC95B #E7DA8D #F2EAC0

Accessibility & contrast

On white

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

On black

12.55
#DCC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC95B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC95B#FFFFFF#000000##000000
##DCC95B1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44F
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#ECBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc95b;
/* rgb */ color: rgb(220, 201, 91);
/* oklch */ color: oklch(83.0% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#ead98d',
    500: '#dcc95b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc95b;
$custom-light: #ead98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc95b",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 51.163,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83047,
    "c": 0.13173,
    "h": 99.6
  },
  "luminance": 0.57744
}

Semantic roles & 50–950 ramp

primary
#DCC95B
secondary
#3C4B9F
accent
#33CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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