#D1C751#D1C751

#D1C751 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.138 H 104.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D1C751
RGBrgb(209, 199, 81)
HSLhsl(55, 58%, 57%)
HSVhsv(55, 61%, 82%)
CMYKcmyk(0%, 4.8%, 61.2%, 18%)
CIE-LABlab(79.04, -10.92, 58.63)
CIE-LCHlch(79.04, 59.64, 100.55°)
OKLaboklab(81.56% -0.0346 0.134)
OKLCHoklch(81.56% 0.138 104.5)
XYZxyz(48.2048, 54.9980, 15.8594)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C751 #515BD1
analogous
#D18751 #D1C751 #9BD151
triadic
#D1C751 #51D1C7 #C751D1
tetradic
#D1C751 #51D187 #515BD1 #D1519B
square
#D1C751 #51D187 #515BD1 #D1519B
split-complementary
#D1C751 #519BD1 #8751D1
monochromatic
#857D23 #B5AB30 #D1C751 #DED781 #EBE6B2

Accessibility & contrast

On white

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

On black

12.00
#D1C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C751
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C751#FFFFFF#000000##000000
##D1C7511.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C143
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#E0BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c751;
/* rgb */ color: rgb(209, 199, 81);
/* oklch */ color: oklch(81.6% 0.138 104.5);
Tailwind
colors: {
  custom: {
    50: '#e2d787',
    500: '#d1c751',
    950: '#000000',
  },
}
SCSS
$custom: #d1c751;
$custom-light: #e2d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c751",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 55.313,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81555,
    "c": 0.13841,
    "h": 104.5
  },
  "luminance": 0.54996
}

Semantic roles & 50–950 ramp

primary
#D1C751
secondary
#3B418B
accent
#53E146
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C751

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

Preview Lab → · Contrast checker → · Palette generator →

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