#D1C746#D1C746

#D1C746 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.147 H 104.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D1C746
RGBrgb(209, 199, 70)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 67%, 82%)
CMYKcmyk(0%, 4.8%, 66.5%, 18%)
CIE-LABlab(78.95, -11.59, 63.10)
CIE-LCHlch(78.95, 64.16, 100.41°)
OKLaboklab(81.46% -0.0377 0.1418)
OKLCHoklch(81.46% 0.147 104.9)
XYZxyz(47.8253, 54.8461, 13.8603)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C746 #4650D1
analogous
#D18146 #D1C746 #96D146
triadic
#D1C746 #46D1C7 #C746D1
tetradic
#D1C746 #46D181 #4650D1 #D14696
square
#D1C746 #46D181 #4650D1 #D14696
split-complementary
#D1C746 #4696D1 #8146D1
monochromatic
#7D771F #AEA52B #D1C746 #DDD677 #E9E5A8

Accessibility & contrast

On white

1.75
#D1C746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D1C746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C746
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C746#FFFFFF#000000##000000
##D1C7461.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#E0BAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c746;
/* rgb */ color: rgb(209, 199, 70);
/* oklch */ color: oklch(81.5% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#e2d780',
    500: '#d1c746',
    950: '#000000',
  },
}
SCSS
$custom: #d1c746;
$custom-light: #e2d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c746",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 55.683,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81457,
    "c": 0.14675,
    "h": 104.9
  },
  "luminance": 0.54844
}

Semantic roles & 50–950 ramp

primary
#D1C746
secondary
#363C85
accent
#50E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C746

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

Preview Lab → · Contrast checker → · Palette generator →

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