#D9C046#D9C046

#D9C046 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.141 H 97.5°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D9C046
RGBrgb(217, 192, 70)
HSLhsl(50, 66%, 56%)
HSVhsv(50, 68%, 85%)
CMYKcmyk(0%, 11.5%, 67.7%, 14.9%)
CIE-LABlab(77.81, -4.62, 62.15)
CIE-LCHlch(77.81, 62.33, 94.25°)
OKLaboklab(80.72% -0.0183 0.1396)
OKLCHoklch(80.72% 0.141 97.5)
XYZxyz(48.5727, 52.8956, 13.4446)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C046 #465FD9
analogous
#D97746 #D9C046 #A9D946
triadic
#D9C046 #46D9C0 #C046D9
tetradic
#D9C046 #46D977 #465FD9 #D946A9
square
#D9C046 #46D977 #465FD9 #D946A9
split-complementary
#D9C046 #46A9D9 #7746D9
monochromatic
#89761C #BBA226 #D9C046 #E3D179 #EEE3AC

Accessibility & contrast

On white

1.81
#D9C046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D9C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C046
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C046#FFFFFF#000000##000000
##D9C0461.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC36
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#EAB2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9c046;
/* rgb */ color: rgb(217, 192, 70);
/* oklch */ color: oklch(80.7% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#e8d280',
    500: '#d9c046',
    950: '#000000',
  },
}
SCSS
$custom: #d9c046;
$custom-light: #e8d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c046",
  "rgb": {
    "r": 217,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 49.796,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80719,
    "c": 0.14078,
    "h": 97.5
  },
  "luminance": 0.52893
}

Semantic roles & 50–950 ramp

primary
#D9C046
secondary
#35448F
accent
#5CE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C046

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

Preview Lab → · Contrast checker → · Palette generator →

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