#D1C045#D1C045

#D1C045 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.141 H 101.4°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D1C045
RGBrgb(209, 192, 69)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 8.1%, 67%, 18%)
CIE-LABlab(77.09, -8.07, 61.59)
CIE-LCHlch(77.09, 62.12, 97.47°)
OKLaboklab(79.98% -0.0278 0.1385)
OKLCHoklch(79.98% 0.141 101.4)
XYZxyz(46.2203, 51.6862, 13.1709)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C045 #4556D1
analogous
#D17A45 #D1C045 #9CD145
triadic
#D1C045 #45D1C0 #C045D1
tetradic
#D1C045 #45D17A #4556D1 #D1459C
square
#D1C045 #45D17A #4556D1 #D1459C
split-complementary
#D1C045 #459CD1 #7A45D1
monochromatic
#7D711F #AE9E2B #D1C045 #DDD176 #E9E1A7

Accessibility & contrast

On white

1.85
#D1C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D1C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C045
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C045#FFFFFF#000000##000000
##D1C0451.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#E1B3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1c045;
/* rgb */ color: rgb(209, 192, 69);
/* oklch */ color: oklch(80.0% 0.141 101.4);
Tailwind
colors: {
  custom: {
    50: '#e3d27f',
    500: '#d1c045',
    950: '#000000',
  },
}
SCSS
$custom: #d1c045;
$custom-light: #e3d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c045",
  "rgb": {
    "r": 209,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 52.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79977,
    "c": 0.14125,
    "h": 101.4
  },
  "luminance": 0.51684
}

Semantic roles & 50–950 ramp

primary
#D1C045
secondary
#363F84
accent
#58E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C045

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

Preview Lab → · Contrast checker → · Palette generator →

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