#D9C846#D9C846

#D9C846 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.147 H 101.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D9C846
RGBrgb(217, 200, 70)
HSLhsl(53, 66%, 56%)
HSVhsv(53, 68%, 85%)
CMYKcmyk(0%, 7.8%, 67.7%, 14.9%)
CIE-LABlab(79.90, -8.72, 64.29)
CIE-LCHlch(79.90, 64.88, 97.73°)
OKLaboklab(82.38% -0.03 0.1441)
OKLCHoklch(82.38% 0.147 101.8)
XYZxyz(50.3772, 56.5046, 14.0461)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C846 #4657D9
analogous
#D97F46 #D9C846 #A1D946
triadic
#D9C846 #46D9C8 #C846D9
tetradic
#D9C846 #46D97F #4657D9 #D946A1
square
#D9C846 #46D97F #4657D9 #D946A1
split-complementary
#D9C846 #46A1D9 #7F46D9
monochromatic
#897C1C #BBAA26 #D9C846 #E3D779 #EEE6AC

Accessibility & contrast

On white

1.71
#D9C846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D9C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C846
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C846#FFFFFF#000000##000000
##D9C8461.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC234
Deuteranopia (green-blind)
#DFC94E
Tritanopia (blue-blind)
#E9BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c846;
/* rgb */ color: rgb(217, 200, 70);
/* oklch */ color: oklch(82.4% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8d880',
    500: '#d9c846',
    950: '#000000',
  },
}
SCSS
$custom: #d9c846;
$custom-light: #e8d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c846",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 53.061,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82375,
    "c": 0.14718,
    "h": 101.8
  },
  "luminance": 0.56502
}

Semantic roles & 50–950 ramp

primary
#D9C846
secondary
#353F8F
accent
#53E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C846

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

Preview Lab → · Contrast checker → · Palette generator →

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