#D0C651#D0C651

#D0C651 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.138 H 104.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D0C651
RGBrgb(208, 198, 81)
HSLhsl(55, 57%, 57%)
HSVhsv(55, 61%, 82%)
CMYKcmyk(0%, 4.8%, 61.1%, 18.4%)
CIE-LABlab(78.69, -10.83, 58.23)
CIE-LCHlch(78.69, 59.23, 100.53°)
OKLaboklab(81.26% -0.0343 0.1332)
OKLCHoklch(81.26% 0.138 104.4)
XYZxyz(47.6934, 54.3938, 15.7698)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C651 #515BD0
analogous
#D08751 #D0C651 #9AD051
triadic
#D0C651 #51D0C6 #C651D0
tetradic
#D0C651 #51D087 #515BD0 #D0519A
square
#D0C651 #51D087 #515BD0 #D0519A
split-complementary
#D0C651 #519AD0 #8751D0
monochromatic
#837C23 #B3A930 #D0C651 #DDD681 #EAE6B1

Accessibility & contrast

On white

1.77
#D0C651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D0C651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C651
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C651#FFFFFF#000000##000000
##D0C6511.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C043
Deuteranopia (green-blind)
#DAC558
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c651;
/* rgb */ color: rgb(208, 198, 81);
/* oklch */ color: oklch(81.3% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#e1d787',
    500: '#d0c651',
    950: '#000000',
  },
}
SCSS
$custom: #d0c651;
$custom-light: #e1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c651",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 55.276,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81257,
    "c": 0.13753,
    "h": 104.4
  },
  "luminance": 0.54392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C651

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

Preview Lab → · Contrast checker → · Palette generator →

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