#D0C751#D0C751

#D0C751 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.138 H 104.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D0C751
RGBrgb(208, 199, 81)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 61%, 82%)
CMYKcmyk(0%, 4.3%, 61.1%, 18.4%)
CIE-LABlab(78.96, -11.34, 58.52)
CIE-LCHlch(78.96, 59.60, 100.96°)
OKLaboklab(81.47% -0.0357 0.1338)
OKLCHoklch(81.47% 0.138 104.9)
XYZxyz(47.9227, 54.8525, 15.8462)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C751 #515AD0
analogous
#D08851 #D0C751 #9AD051
triadic
#D0C751 #51D0C7 #C751D0
tetradic
#D0C751 #51D088 #515AD0 #D0519A
square
#D0C751 #51D088 #515AD0 #D0519A
split-complementary
#D0C751 #519AD0 #8851D0
monochromatic
#837C23 #B3AA30 #D0C751 #DDD781 #EAE6B1

Accessibility & contrast

On white

1.75
#D0C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D0C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C751
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C751#FFFFFF#000000##000000
##D0C7511.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#DAC658
Tritanopia (blue-blind)
#DEBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c751;
/* rgb */ color: rgb(208, 199, 81);
/* oklch */ color: oklch(81.5% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e1d787',
    500: '#d0c751',
    950: '#000000',
  },
}
SCSS
$custom: #d0c751;
$custom-light: #e1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c751",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 55.748,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81468,
    "c": 0.13848,
    "h": 104.9
  },
  "luminance": 0.54851
}

Semantic roles & 50–950 ramp

primary
#D0C751
secondary
#3B418A
accent
#52E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C751

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

Preview Lab → · Contrast checker → · Palette generator →

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