#D1C656#D1C656

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

Color values

HEX#D1C656
RGBrgb(209, 198, 86)
HSLhsl(55, 57%, 58%)
HSVhsv(55, 59%, 82%)
CMYKcmyk(0%, 5.3%, 58.9%, 18%)
CIE-LABlab(78.82, -10.07, 56.20)
CIE-LCHlch(78.82, 57.09, 100.16°)
OKLaboklab(81.4% -0.0316 0.1295)
OKLCHoklch(81.4% 0.133 103.7)
XYZxyz(48.1700, 54.6171, 16.8071)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C656 #5661D1
analogous
#D18856 #D1C656 #9ED156
triadic
#D1C656 #56D1C6 #C656D1
tetradic
#D1C656 #56D188 #5661D1 #D1569E
square
#D1C656 #56D188 #5661D1 #D1569E
split-complementary
#D1C656 #569ED1 #8856D1
monochromatic
#887F25 #B8AC32 #D1C656 #DED686 #EBE6B6

Accessibility & contrast

On white

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

On black

11.92
#D1C656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C656
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C656#FFFFFF#000000##000000
##D1C6561.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c656;
/* rgb */ color: rgb(209, 198, 86);
/* oklch */ color: oklch(81.4% 0.133 103.7);
Tailwind
colors: {
  custom: {
    50: '#e2d78a',
    500: '#d1c656',
    950: '#000000',
  },
}
SCSS
$custom: #d1c656;
$custom-light: #e2d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c656",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 54.634,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81395,
    "c": 0.13331,
    "h": 103.7
  },
  "luminance": 0.54615
}

Semantic roles & 50–950 ramp

primary
#D1C656
secondary
#3D448E
accent
#55E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C656

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

Preview Lab → · Contrast checker → · Palette generator →

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