#DCD07B#DCD07B

#DCD07B is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 84.9% C 0.107 H 101.3°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#DCD07B
RGBrgb(220, 208, 123)
HSLhsl(53, 58%, 67%)
HSVhsv(53, 44%, 86%)
CMYKcmyk(0%, 5.5%, 44.1%, 13.7%)
CIE-LABlab(82.79, -7.51, 43.55)
CIE-LCHlch(82.79, 44.20, 99.79°)
OKLaboklab(84.9% -0.021 0.1051)
OKLCHoklch(84.9% 0.107 101.3)
XYZxyz(55.6475, 61.7592, 27.7244)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD07B #7B87DC
analogous
#DC9F7B #DCD07B #B8DC7B
triadic
#DCD07B #7BDCD0 #D07BDC
tetradic
#DCD07B #7BDC9F #7B87DC #DC7BB8
square
#DCD07B #7BDC9F #7B87DC #DC7BB8
split-complementary
#DCD07B #7BB8DC #9F7BDC
monochromatic
#AE9F2E #CFBF4B #DCD07B #E9E1AB #F6F2DC

Accessibility & contrast

On white

1.57
#DCD07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#DCD07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD07B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD07B#FFFFFF#000000##000000
##DCD07B1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB74
Deuteranopia (green-blind)
#E2D07F
Tritanopia (blue-blind)
#E9C5BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd07b;
/* rgb */ color: rgb(220, 208, 123);
/* oklch */ color: oklch(84.9% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8dea2',
    500: '#dcd07b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd07b;
$custom-light: #e8dea2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd07b",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 123
  },
  "hsl": {
    "h": 52.577,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.849,
    "c": 0.10722,
    "h": 101.3
  },
  "luminance": 0.61757
}

Semantic roles & 50–950 ramp

primary
#DCD07B
secondary
#4B57B1
accent
#34C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD07B

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

Preview Lab → · Contrast checker → · Palette generator →

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