#D1C757#D1C757

#D1C757 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.133 H 104.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D1C757
RGBrgb(209, 199, 87)
HSLhsl(55, 57%, 58%)
HSVhsv(55, 58%, 82%)
CMYKcmyk(0%, 4.8%, 58.4%, 18%)
CIE-LABlab(79.09, -10.50, 56.06)
CIE-LCHlch(79.09, 57.03, 100.61°)
OKLaboklab(81.62% -0.0327 0.1293)
OKLCHoklch(81.62% 0.133 104.2)
XYZxyz(48.4399, 55.0920, 17.0972)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C757 #5761D1
analogous
#D18A57 #D1C757 #9ED157
triadic
#D1C757 #57D1C7 #C757D1
tetradic
#D1C757 #57D18A #5761D1 #D1579E
square
#D1C757 #57D18A #5761D1 #D1579E
split-complementary
#D1C757 #579ED1 #8A57D1
monochromatic
#888025 #B8AD32 #D1C757 #DED787 #EBE7B7

Accessibility & contrast

On white

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

On black

12.02
#D1C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C757
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C757#FFFFFF#000000##000000
##D1C7571.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#DFBBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c757;
/* rgb */ color: rgb(209, 199, 87);
/* oklch */ color: oklch(81.6% 0.133 104.2);
Tailwind
colors: {
  custom: {
    50: '#e2d78a',
    500: '#d1c757',
    950: '#000000',
  },
}
SCSS
$custom: #d1c757;
$custom-light: #e2d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c757",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 55.082,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81616,
    "c": 0.13341,
    "h": 104.2
  },
  "luminance": 0.5509
}

Semantic roles & 50–950 ramp

primary
#D1C757
secondary
#3D448F
accent
#54E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C757

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

Preview Lab → · Contrast checker → · Palette generator →

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