#DCD65B#DCD65B

#DCD65B is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.8% C 0.144 H 106.5°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DCD65B
RGBrgb(220, 214, 91)
HSLhsl(57, 65%, 61%)
HSVhsv(57, 59%, 86%)
CMYKcmyk(0%, 2.7%, 58.6%, 13.7%)
CIE-LABlab(84.00, -13.24, 59.99)
CIE-LCHlch(84.00, 61.43, 102.45°)
OKLaboklab(85.75% -0.0407 0.138)
OKLCHoklch(85.75% 0.144 106.5)
XYZxyz(55.4519, 64.0659, 19.3404)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD65B #5B61DC
analogous
#DC955B #DCD65B #A1DC5B
triadic
#DCD65B #5BDCD6 #D65BDC
tetradic
#DCD65B #5BDC95 #5B61DC #DC5BA1
square
#DCD65B #5BDC95 #5B61DC #DC5BA1
split-complementary
#DCD65B #5BA1DC #955BDC
monochromatic
#9B9621 #CEC62C #DCD65B #E7E38D #F2EFC0

Accessibility & contrast

On white

1.52
#DCD65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#DCD65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD65B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD65B#FFFFFF#000000##000000
##DCD65B1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E9D462
Tritanopia (blue-blind)
#EBC9BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd65b;
/* rgb */ color: rgb(220, 214, 91);
/* oklch */ color: oklch(85.8% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#eae28e',
    500: '#dcd65b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd65b;
$custom-light: #eae28e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd65b",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 91
  },
  "hsl": {
    "h": 57.209,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8575,
    "c": 0.14386,
    "h": 106.5
  },
  "luminance": 0.64064
}

Semantic roles & 50–950 ramp

primary
#DCD65B
secondary
#3C409F
accent
#21CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD65B

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

Preview Lab → · Contrast checker → · Palette generator →

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