#D1C657#D1C657

#D1C657 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.132 H 103.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D1C657
RGBrgb(209, 198, 87)
HSLhsl(55, 57%, 58%)
HSVhsv(55, 58%, 82%)
CMYKcmyk(0%, 5.3%, 58.4%, 18%)
CIE-LABlab(78.83, -9.99, 55.76)
CIE-LCHlch(78.83, 56.65, 100.16°)
OKLaboklab(81.41% -0.0313 0.1287)
OKLCHoklch(81.41% 0.132 103.7)
XYZxyz(48.2105, 54.6333, 17.0207)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C657 #5762D1
analogous
#D18957 #D1C657 #9FD157
triadic
#D1C657 #57D1C6 #C657D1
tetradic
#D1C657 #57D189 #5762D1 #D1579F
square
#D1C657 #57D189 #5762D1 #D1579F
split-complementary
#D1C657 #579FD1 #8957D1
monochromatic
#887F25 #B8AC32 #D1C657 #DED687 #EBE7B7

Accessibility & contrast

On white

1.76
#D1C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D1C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C657
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C657#FFFFFF#000000##000000
##D1C6571.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#DFBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c657;
/* rgb */ color: rgb(209, 198, 87);
/* oklch */ color: oklch(81.4% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#e2d78a',
    500: '#d1c657',
    950: '#000000',
  },
}
SCSS
$custom: #d1c657;
$custom-light: #e2d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c657",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 54.59,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81405,
    "c": 0.13245,
    "h": 103.7
  },
  "luminance": 0.54632
}

Semantic roles & 50–950 ramp

primary
#D1C657
secondary
#3D458F
accent
#55E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C657

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

Preview Lab → · Contrast checker → · Palette generator →

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