#D1C145#D1C145

#D1C145 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.142 H 101.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D1C145
RGBrgb(209, 193, 69)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 7.7%, 67%, 18%)
CIE-LABlab(77.36, -8.59, 61.86)
CIE-LCHlch(77.36, 62.46, 97.90°)
OKLaboklab(80.19% -0.0293 0.1391)
OKLCHoklch(80.19% 0.142 101.9)
XYZxyz(46.4406, 52.1269, 13.2443)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C145 #4555D1
analogous
#D17B45 #D1C145 #9BD145
triadic
#D1C145 #45D1C1 #C145D1
tetradic
#D1C145 #45D17B #4555D1 #D1459B
square
#D1C145 #45D17B #4555D1 #D1459B
split-complementary
#D1C145 #459BD1 #7B45D1
monochromatic
#7D721F #AE9F2B #D1C145 #DDD176 #E9E2A7

Accessibility & contrast

On white

1.84
#D1C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D1C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C145
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C145#FFFFFF#000000##000000
##D1C1451.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#E0B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c145;
/* rgb */ color: rgb(209, 193, 69);
/* oklch */ color: oklch(80.2% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e2d37f',
    500: '#d1c145',
    950: '#000000',
  },
}
SCSS
$custom: #d1c145;
$custom-light: #e2d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c145",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 53.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80186,
    "c": 0.1421,
    "h": 101.9
  },
  "luminance": 0.52125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C145

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

Preview Lab → · Contrast checker → · Palette generator →

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