#D0CC46#D0CC46

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

Color values

HEX#D0CC46
RGBrgb(208, 204, 70)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 66%, 82%)
CMYKcmyk(0%, 1.9%, 66.3%, 18.4%)
CIE-LABlab(80.20, -14.53, 64.35)
CIE-LCHlch(80.20, 65.97, 102.72°)
OKLaboklab(82.43% -0.0459 0.1445)
OKLCHoklch(82.43% 0.152 107.6)
XYZxyz(48.7125, 57.0394, 14.2369)
Luminance0.5704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC46 #464AD0
analogous
#D08746 #D0CC46 #8FD046
triadic
#D0CC46 #46D0CC #CC46D0
tetradic
#D0CC46 #46D087 #464AD0 #D0468F
square
#D0CC46 #46D087 #464AD0 #D0468F
split-complementary
#D0CC46 #468FD0 #8746D0
monochromatic
#7C7920 #ADA92C #D0CC46 #DCD977 #E9E7A8

Accessibility & contrast

On white

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

On black

12.41
#D0CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC46
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC46#FFFFFF#000000##000000
##D0CC461.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#DFBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc46;
/* rgb */ color: rgb(208, 204, 70);
/* oklch */ color: oklch(82.4% 0.152 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2db81',
    500: '#d0cc46',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc46;
$custom-light: #e2db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc46",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 58.261,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82433,
    "c": 0.15161,
    "h": 107.6
  },
  "luminance": 0.57038
}

Semantic roles & 50–950 ramp

primary
#D0CC46
secondary
#363984
accent
#4AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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