#DCD07E#DCD07E

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

Color values

HEX#DCD07E
RGBrgb(220, 208, 126)
HSLhsl(52, 57%, 68%)
HSVhsv(52, 43%, 86%)
CMYKcmyk(0%, 5.5%, 42.7%, 13.7%)
CIE-LABlab(82.83, -7.21, 42.11)
CIE-LCHlch(82.83, 42.73, 99.72°)
OKLaboklab(84.95% -0.0199 0.1021)
OKLCHoklch(84.95% 0.104 101)
XYZxyz(55.8382, 61.8354, 28.7287)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD07E #7E8ADC
analogous
#DCA17E #DCD07E #B9DC7E
triadic
#DCD07E #7EDCD0 #D07EDC
tetradic
#DCD07E #7EDCA1 #7E8ADC #DC7EB9
square
#DCD07E #7EDCA1 #7E8ADC #DC7EB9
split-complementary
#DCD07E #7EB9DC #A17EDC
monochromatic
#B0A030 #CFBE4E #DCD07E #E9E2AE #F6F3DE

Accessibility & contrast

On white

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

On black

13.37
#DCD07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD07E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD07E#FFFFFF#000000##000000
##DCD07E1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB78
Deuteranopia (green-blind)
#E2D181
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd07e;
/* rgb */ color: rgb(220, 208, 126);
/* oklch */ color: oklch(84.9% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#e8dea4',
    500: '#dcd07e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd07e;
$custom-light: #e8dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd07e",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 126
  },
  "hsl": {
    "h": 52.34,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84945,
    "c": 0.10399,
    "h": 101
  },
  "luminance": 0.61834
}

Semantic roles & 50–950 ramp

primary
#DCD07E
secondary
#4C59B2
accent
#36C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD07E

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

Preview Lab → · Contrast checker → · Palette generator →

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