#D1C858#D1C858

#D1C858 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.134 H 104.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D1C858
RGBrgb(209, 200, 88)
HSLhsl(56, 57%, 58%)
HSVhsv(56, 58%, 82%)
CMYKcmyk(0%, 4.3%, 57.9%, 18%)
CIE-LABlab(79.37, -10.94, 55.92)
CIE-LCHlch(79.37, 56.98, 101.07°)
OKLaboklab(81.84% -0.0339 0.1291)
OKLCHoklch(81.84% 0.134 104.7)
XYZxyz(48.7118, 55.5701, 17.3908)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C858 #5861D1
analogous
#D18B58 #D1C858 #9DD158
triadic
#D1C858 #58D1C8 #C858D1
tetradic
#D1C858 #58D18B #5861D1 #D1589D
square
#D1C858 #58D18B #5861D1 #D1589D
split-complementary
#D1C858 #589DD1 #8B58D1
monochromatic
#898226 #B9AF33 #D1C858 #DED888 #EBE8B8

Accessibility & contrast

On white

1.73
#D1C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D1C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C858
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C858#FFFFFF#000000##000000
##D1C8581.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#DFBCB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c858;
/* rgb */ color: rgb(209, 200, 88);
/* oklch */ color: oklch(81.8% 0.134 104.7);
Tailwind
colors: {
  custom: {
    50: '#e2d88b',
    500: '#d1c858',
    950: '#000000',
  },
}
SCSS
$custom: #d1c858;
$custom-light: #e2d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c858",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 55.537,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81837,
    "c": 0.13352,
    "h": 104.7
  },
  "luminance": 0.55568
}

Semantic roles & 50–950 ramp

primary
#D1C858
secondary
#3E448F
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C858

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

Preview Lab → · Contrast checker → · Palette generator →

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