#D0CB52#D0CB52

#D0CB52 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.142 H 106.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D0CB52
RGBrgb(208, 203, 82)
HSLhsl(58, 57%, 57%)
HSVhsv(58, 61%, 82%)
CMYKcmyk(0%, 2.4%, 60.6%, 18.4%)
CIE-LABlab(80.03, -13.29, 59.25)
CIE-LCHlch(80.03, 60.72, 102.64°)
OKLaboklab(82.33% -0.0411 0.1355)
OKLCHoklch(82.33% 0.142 106.9)
XYZxyz(48.8930, 56.7325, 16.3560)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CB52 #5257D0
analogous
#D08C52 #D0CB52 #96D052
triadic
#D0CB52 #52D0CB #CB52D0
tetradic
#D0CB52 #52D08C #5257D0 #D05296
square
#D0CB52 #52D08C #5257D0 #D05296
split-complementary
#D0CB52 #5296D0 #8C52D0
monochromatic
#848024 #B4AF31 #D0CB52 #DDD982 #EAE8B2

Accessibility & contrast

On white

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

On black

12.35
#D0CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CB52
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CB52#FFFFFF#000000##000000
##D0CB521.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DDC959
Tritanopia (blue-blind)
#DEBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0cb52;
/* rgb */ color: rgb(208, 203, 82);
/* oklch */ color: oklch(82.3% 0.142 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1da88',
    500: '#d0cb52',
    950: '#000000',
  },
}
SCSS
$custom: #d0cb52;
$custom-light: #e1da88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cb52",
  "rgb": {
    "r": 208,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 57.619,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82325,
    "c": 0.1416,
    "h": 106.9
  },
  "luminance": 0.56731
}

Semantic roles & 50–950 ramp

primary
#D0CB52
secondary
#3B3F8B
accent
#4DE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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