#DCD05B#DCD05B

#DCD05B is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.5% C 0.138 H 103.5°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#DCD05B
RGBrgb(220, 208, 91)
HSLhsl(54, 65%, 61%)
HSVhsv(54, 59%, 86%)
CMYKcmyk(0%, 5.5%, 58.6%, 13.7%)
CIE-LABlab(82.42, -10.23, 58.24)
CIE-LCHlch(82.42, 59.13, 99.96°)
OKLaboklab(84.5% -0.0322 0.1343)
OKLCHoklch(84.5% 0.138 103.5)
XYZxyz(53.9613, 61.0847, 18.8436)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD05B #5B67DC
analogous
#DC8F5B #DCD05B #A7DC5B
triadic
#DCD05B #5BDCD0 #D05BDC
tetradic
#DCD05B #5BDC8F #5B67DC #DC5BA7
square
#DCD05B #5BDC8F #5B67DC #DC5BA7
split-complementary
#DCD05B #5BA7DC #8F5BDC
monochromatic
#9B9021 #CEBF2C #DCD05B #E7DE8D #F2EDC0

Accessibility & contrast

On white

1.59
#DCD05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#DCD05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD05B
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD05B#FFFFFF#000000##000000
##DCD05B1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4E
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#EBC3B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd05b;
/* rgb */ color: rgb(220, 208, 91);
/* oklch */ color: oklch(84.5% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#eade8e',
    500: '#dcd05b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd05b;
$custom-light: #eade8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd05b",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 54.419,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84496,
    "c": 0.13805,
    "h": 103.5
  },
  "luminance": 0.61083
}

Semantic roles & 50–950 ramp

primary
#DCD05B
secondary
#3C459F
accent
#2ACD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCD05B

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

Preview Lab → · Contrast checker → · Palette generator →

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