#D9C746#D9C746

#D9C746 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.146 H 101.3°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D9C746
RGBrgb(217, 199, 70)
HSLhsl(53, 66%, 56%)
HSVhsv(53, 68%, 85%)
CMYKcmyk(0%, 8.3%, 67.7%, 14.9%)
CIE-LABlab(79.64, -8.21, 64.02)
CIE-LCHlch(79.64, 64.55, 97.31°)
OKLaboklab(82.17% -0.0286 0.1435)
OKLCHoklch(82.17% 0.146 101.3)
XYZxyz(50.1464, 56.0429, 13.9691)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C746 #4658D9
analogous
#D97E46 #D9C746 #A2D946
triadic
#D9C746 #46D9C7 #C746D9
tetradic
#D9C746 #46D97E #4658D9 #D946A2
square
#D9C746 #46D97E #4658D9 #D946A2
split-complementary
#D9C746 #46A2D9 #7E46D9
monochromatic
#897B1C #BBA926 #D9C746 #E3D679 #EEE6AC

Accessibility & contrast

On white

1.72
#D9C746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D9C746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C746
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C746#FFFFFF#000000##000000
##D9C7461.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C134
Deuteranopia (green-blind)
#DEC94E
Tritanopia (blue-blind)
#E9B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c746;
/* rgb */ color: rgb(217, 199, 70);
/* oklch */ color: oklch(82.2% 0.146 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8d780',
    500: '#d9c746',
    950: '#000000',
  },
}
SCSS
$custom: #d9c746;
$custom-light: #e8d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c746",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 52.653,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82167,
    "c": 0.14634,
    "h": 101.3
  },
  "luminance": 0.56041
}

Semantic roles & 50–950 ramp

primary
#D9C746
secondary
#35408F
accent
#54E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C746

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

Preview Lab → · Contrast checker → · Palette generator →

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