#D0CC48#D0CC48

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

Color values

HEX#D0CC48
RGBrgb(208, 204, 72)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 1.9%, 65.4%, 18.4%)
CIE-LABlab(80.22, -14.42, 63.58)
CIE-LCHlch(80.22, 65.20, 102.78°)
OKLaboklab(82.45% -0.0454 0.1432)
OKLCHoklch(82.45% 0.15 107.6)
XYZxyz(48.7767, 57.0651, 14.5749)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC48 #484CD0
analogous
#D08848 #D0CC48 #90D048
triadic
#D0CC48 #48D0CC #CC48D0
tetradic
#D0CC48 #48D088 #484CD0 #D04890
square
#D0CC48 #48D088 #484CD0 #D04890
split-complementary
#D0CC48 #4890D0 #8848D0
monochromatic
#7D7B20 #AEAA2D #D0CC48 #DDDA79 #E9E7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0CC48#FFFFFF#000000##000000
##D0CC481.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)
#DCC436
Deuteranopia (green-blind)
#DFC951
Tritanopia (blue-blind)
#DEBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc48;
/* rgb */ color: rgb(208, 204, 72);
/* oklch */ color: oklch(82.4% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2db82',
    500: '#d0cc48',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc48;
$custom-light: #e2db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc48",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 58.235,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82449,
    "c": 0.15021,
    "h": 107.6
  },
  "luminance": 0.57064
}

Semantic roles & 50–950 ramp

primary
#D0CC48
secondary
#373985
accent
#4AE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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