#D1C645#D1C645

#D1C645 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.147 H 104.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D1C645
RGBrgb(209, 198, 69)
HSLhsl(55, 60%, 55%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.3%, 67%, 18%)
CIE-LABlab(78.68, -11.14, 63.22)
CIE-LCHlch(78.68, 64.19, 99.99°)
OKLaboklab(81.24% -0.0365 0.1419)
OKLCHoklch(81.24% 0.147 104.4)
XYZxyz(47.5646, 54.3749, 13.6190)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C645 #4550D1
analogous
#D18045 #D1C645 #96D145
triadic
#D1C645 #45D1C6 #C645D1
tetradic
#D1C645 #45D180 #4550D1 #D14596
square
#D1C645 #45D180 #4550D1 #D14596
split-complementary
#D1C645 #4596D1 #8045D1
monochromatic
#7D751F #AEA42B #D1C645 #DDD576 #E9E4A7

Accessibility & contrast

On white

1.77
#D1C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D1C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C645
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C645#FFFFFF#000000##000000
##D1C6451.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#E0B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c645;
/* rgb */ color: rgb(209, 198, 69);
/* oklch */ color: oklch(81.2% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d780',
    500: '#d1c645',
    950: '#000000',
  },
}
SCSS
$custom: #d1c645;
$custom-light: #e2d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c645",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 55.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.14653,
    "h": 104.4
  },
  "luminance": 0.54373
}

Semantic roles & 50–950 ramp

primary
#D1C645
secondary
#363C84
accent
#51E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C645

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

Preview Lab → · Contrast checker → · Palette generator →

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