#D1C85A#D1C85A

#D1C85A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.132 H 104.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D1C85A
RGBrgb(209, 200, 90)
HSLhsl(55, 56%, 59%)
HSVhsv(55, 57%, 82%)
CMYKcmyk(0%, 4.3%, 56.9%, 18%)
CIE-LABlab(79.39, -10.79, 55.04)
CIE-LCHlch(79.39, 56.08, 101.10°)
OKLaboklab(81.86% -0.0332 0.1275)
OKLCHoklch(81.86% 0.132 104.6)
XYZxyz(48.7958, 55.6037, 17.8331)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C85A #5A63D1
analogous
#D18C5A #D1C85A #9ED15A
triadic
#D1C85A #5AD1C8 #C85AD1
tetradic
#D1C85A #5AD18C #5A63D1 #D15A9E
square
#D1C85A #5AD18C #5A63D1 #D15A9E
split-complementary
#D1C85A #5A9ED1 #8C5AD1
monochromatic
#8A8327 #BAB034 #D1C85A #DED88A #ECE8BA

Accessibility & contrast

On white

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

On black

12.12
#D1C85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C85A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C85A#FFFFFF#000000##000000
##D1C85A1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c85a;
/* rgb */ color: rgb(209, 200, 90);
/* oklch */ color: oklch(81.9% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#e2d88c',
    500: '#d1c85a',
    950: '#000000',
  },
}
SCSS
$custom: #d1c85a;
$custom-light: #e2d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c85a",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 55.462,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81858,
    "c": 0.13178,
    "h": 104.6
  },
  "luminance": 0.55602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C85A

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

Preview Lab → · Contrast checker → · Palette generator →

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