#D0CC40#D0CC40

#D0CC40 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.156 H 107.7°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D0CC40
RGBrgb(208, 204, 64)
HSLhsl(58, 61%, 53%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 1.9%, 69.2%, 18.4%)
CIE-LABlab(80.16, -14.85, 66.59)
CIE-LCHlch(80.16, 68.22, 102.57°)
OKLaboklab(82.39% -0.0474 0.1482)
OKLCHoklch(82.39% 0.156 107.7)
XYZxyz(48.5325, 56.9674, 13.2888)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC40 #4044D0
analogous
#D08440 #D0CC40 #8CD040
triadic
#D0CC40 #40D0CC #CC40D0
tetradic
#D0CC40 #40D084 #4044D0 #D0408C
square
#D0CC40 #40D084 #4044D0 #D0408C
split-complementary
#D0CC40 #408CD0 #8440D0
monochromatic
#78761E #A9A62A #D0CC40 #DCD971 #E8E6A2

Accessibility & contrast

On white

1.69
#D0CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D0CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC40
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC40#FFFFFF#000000##000000
##D0CC401.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#DFBFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc40;
/* rgb */ color: rgb(208, 204, 64);
/* oklch */ color: oklch(82.4% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e2db7d',
    500: '#d0cc40',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc40;
$custom-light: #e2db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc40",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 58.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82387,
    "c": 0.15562,
    "h": 107.7
  },
  "luminance": 0.56966
}

Semantic roles & 50–950 ramp

primary
#D0CC40
secondary
#343680
accent
#49E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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