#D1C445#D1C445

#D1C445 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.145 H 103.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D1C445
RGBrgb(209, 196, 69)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 6.2%, 67%, 18%)
CIE-LABlab(78.15, -10.12, 62.68)
CIE-LCHlch(78.15, 63.49, 99.17°)
OKLaboklab(80.82% -0.0336 0.1408)
OKLCHoklch(80.82% 0.145 103.4)
XYZxyz(47.1105, 53.4667, 13.4676)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C445 #4552D1
analogous
#D17E45 #D1C445 #98D145
triadic
#D1C445 #45D1C4 #C445D1
tetradic
#D1C445 #45D17E #4552D1 #D14598
square
#D1C445 #45D17E #4552D1 #D14598
split-complementary
#D1C445 #4598D1 #7E45D1
monochromatic
#7D741F #AEA22B #D1C445 #DDD476 #E9E3A7

Accessibility & contrast

On white

1.80
#D1C445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D1C445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C445
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C445#FFFFFF#000000##000000
##D1C4451.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#E0B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c445;
/* rgb */ color: rgb(209, 196, 69);
/* oklch */ color: oklch(80.8% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2d57f',
    500: '#d1c445',
    950: '#000000',
  },
}
SCSS
$custom: #d1c445;
$custom-light: #e2d57f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c445",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 69
  },
  "hsl": {
    "h": 54.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80817,
    "c": 0.14473,
    "h": 103.4
  },
  "luminance": 0.53465
}

Semantic roles & 50–950 ramp

primary
#D1C445
secondary
#363D84
accent
#53E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C445

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

Preview Lab → · Contrast checker → · Palette generator →

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