#DCD95B#DCD95B

#DCD95B is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.147 H 107.8°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DCD95B
RGBrgb(220, 217, 91)
HSLhsl(59, 65%, 61%)
HSVhsv(59, 59%, 86%)
CMYKcmyk(0%, 1.4%, 58.6%, 13.7%)
CIE-LABlab(84.79, -14.73, 60.86)
CIE-LCHlch(84.79, 62.62, 103.61°)
OKLaboklab(86.38% -0.045 0.1398)
OKLCHoklch(86.38% 0.147 107.8)
XYZxyz(56.2181, 65.5983, 19.5959)
Luminance0.6560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD95B #5B5EDC
analogous
#DC985B #DCD95B #9EDC5B
triadic
#DCD95B #5BDCD9 #D95BDC
tetradic
#DCD95B #5BDC98 #5B5EDC #DC5B9E
square
#DCD95B #5BDC98 #5B5EDC #DC5B9E
split-complementary
#DCD95B #5B9EDC #985BDC
monochromatic
#9B9921 #CECA2C #DCD95B #E7E58D #F2F0C0

Accessibility & contrast

On white

1.49
#DCD95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#DCD95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD95B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD95B#FFFFFF#000000##000000
##DCD95B1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14D
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd95b;
/* rgb */ color: rgb(220, 217, 91);
/* oklch */ color: oklch(86.4% 0.147 107.8);
Tailwind
colors: {
  custom: {
    50: '#eae48e',
    500: '#dcd95b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd95b;
$custom-light: #eae48e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd95b",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 58.605,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8638,
    "c": 0.14689,
    "h": 107.8
  },
  "luminance": 0.65597
}

Semantic roles & 50–950 ramp

primary
#DCD95B
secondary
#3C3E9F
accent
#1DCD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD95B

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

Preview Lab → · Contrast checker → · Palette generator →

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