#D1C146#D1C146

#D1C146 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.141 H 101.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D1C146
RGBrgb(209, 193, 70)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 7.7%, 66.5%, 18%)
CIE-LABlab(77.36, -8.53, 61.47)
CIE-LCHlch(77.36, 62.06, 97.90°)
OKLaboklab(80.2% -0.029 0.1384)
OKLCHoklch(80.2% 0.141 101.8)
XYZxyz(46.4719, 52.1394, 13.4092)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C146 #4656D1
analogous
#D17C46 #D1C146 #9BD146
triadic
#D1C146 #46D1C1 #C146D1
tetradic
#D1C146 #46D17C #4656D1 #D1469B
square
#D1C146 #46D17C #4656D1 #D1469B
split-complementary
#D1C146 #469BD1 #7C46D1
monochromatic
#7D731F #AE9F2B #D1C146 #DDD177 #E9E2A8

Accessibility & contrast

On white

1.84
#D1C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D1C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C146
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C146#FFFFFF#000000##000000
##D1C1461.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#E0B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c146;
/* rgb */ color: rgb(209, 193, 70);
/* oklch */ color: oklch(80.2% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e2d380',
    500: '#d1c146',
    950: '#000000',
  },
}
SCSS
$custom: #d1c146;
$custom-light: #e2d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c146",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 53.094,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80195,
    "c": 0.14138,
    "h": 101.8
  },
  "luminance": 0.52137
}

Semantic roles & 50–950 ramp

primary
#D1C146
secondary
#363F85
accent
#57E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C146

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

Preview Lab → · Contrast checker → · Palette generator →

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