#D1C345#D1C345

#D1C345 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.144 H 102.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#D1C345
RGBrgb(209, 195, 69)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 6.7%, 67%, 18%)
CIE-LABlab(77.89, -9.61, 62.41)
CIE-LCHlch(77.89, 63.14, 98.75°)
OKLaboklab(80.61% -0.0322 0.1402)
OKLCHoklch(80.61% 0.144 102.9)
XYZxyz(46.8857, 53.0171, 13.3927)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C345 #4553D1
analogous
#D17D45 #D1C345 #99D145
triadic
#D1C345 #45D1C3 #C345D1
tetradic
#D1C345 #45D17D #4553D1 #D14599
square
#D1C345 #45D17D #4553D1 #D14599
split-complementary
#D1C345 #4599D1 #7D45D1
monochromatic
#7D731F #AEA12B #D1C345 #DDD376 #E9E3A7

Accessibility & contrast

On white

1.81
#D1C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#D1C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C345
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C345#FFFFFF#000000##000000
##D1C3451.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD34
Deuteranopia (green-blind)
#D9C34D
Tritanopia (blue-blind)
#E0B6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c345;
/* rgb */ color: rgb(209, 195, 69);
/* oklch */ color: oklch(80.6% 0.144 102.9);
Tailwind
colors: {
  custom: {
    50: '#e2d47f',
    500: '#d1c345',
    950: '#000000',
  },
}
SCSS
$custom: #d1c345;
$custom-light: #e2d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c345",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 54,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80606,
    "c": 0.14385,
    "h": 102.9
  },
  "luminance": 0.53015
}

Semantic roles & 50–950 ramp

primary
#D1C345
secondary
#363E84
accent
#54E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C345

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

Preview Lab → · Contrast checker → · Palette generator →

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