#D9C146#D9C146

#D9C146 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.142 H 98.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D9C146
RGBrgb(217, 193, 70)
HSLhsl(50, 66%, 56%)
HSVhsv(50, 68%, 85%)
CMYKcmyk(0%, 11.1%, 67.7%, 14.9%)
CIE-LABlab(78.07, -5.13, 62.42)
CIE-LCHlch(78.07, 62.63, 94.70°)
OKLaboklab(80.93% -0.0198 0.1401)
OKLCHoklch(80.93% 0.142 98)
XYZxyz(48.7930, 53.3362, 13.5180)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C146 #465ED9
analogous
#D97846 #D9C146 #A8D946
triadic
#D9C146 #46D9C1 #C146D9
tetradic
#D9C146 #46D978 #465ED9 #D946A8
square
#D9C146 #46D978 #465ED9 #D946A8
split-complementary
#D9C146 #46A8D9 #7846D9
monochromatic
#89771C #BBA326 #D9C146 #E3D279 #EEE3AC

Accessibility & contrast

On white

1.80
#D9C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D9C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C146
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C146#FFFFFF#000000##000000
##D9C1461.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#EAB3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c146;
/* rgb */ color: rgb(217, 193, 70);
/* oklch */ color: oklch(80.9% 0.142 98.0);
Tailwind
colors: {
  custom: {
    50: '#e8d380',
    500: '#d9c146',
    950: '#000000',
  },
}
SCSS
$custom: #d9c146;
$custom-light: #e8d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c146",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 50.204,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80925,
    "c": 0.14153,
    "h": 98
  },
  "luminance": 0.53334
}

Semantic roles & 50–950 ramp

primary
#D9C146
secondary
#35438F
accent
#5BE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C146

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

Preview Lab → · Contrast checker → · Palette generator →

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