#D0CB48#D0CB48

#D0CB48 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.149 H 107.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D0CB48
RGBrgb(208, 203, 72)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 2.4%, 65.4%, 18.4%)
CIE-LABlab(79.95, -13.91, 63.31)
CIE-LCHlch(79.95, 64.82, 102.40°)
OKLaboklab(82.24% -0.044 0.1426)
OKLCHoklch(82.24% 0.149 107.1)
XYZxyz(48.5398, 56.5912, 14.4959)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CB48 #484DD0
analogous
#D08748 #D0CB48 #91D048
triadic
#D0CB48 #48D0CB #CB48D0
tetradic
#D0CB48 #48D087 #484DD0 #D04891
square
#D0CB48 #48D087 #484DD0 #D04891
split-complementary
#D0CB48 #4891D0 #8748D0
monochromatic
#7D7A20 #AEA92D #D0CB48 #DDD979 #E9E7A9

Accessibility & contrast

On white

1.70
#D0CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D0CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CB48
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CB48#FFFFFF#000000##000000
##D0CB481.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#DFBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0cb48;
/* rgb */ color: rgb(208, 203, 72);
/* oklch */ color: oklch(82.2% 0.149 107.1);
Tailwind
colors: {
  custom: {
    50: '#e2da82',
    500: '#d0cb48',
    950: '#000000',
  },
}
SCSS
$custom: #d0cb48;
$custom-light: #e2da82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cb48",
  "rgb": {
    "r": 208,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 57.794,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82236,
    "c": 0.14923,
    "h": 107.1
  },
  "luminance": 0.5659
}

Semantic roles & 50–950 ramp

primary
#D0CB48
secondary
#373A85
accent
#4BE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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