#D1C046#D1C046

#D1C046 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.141 H 101.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D1C046
RGBrgb(209, 192, 70)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 8.1%, 66.5%, 18%)
CIE-LABlab(77.10, -8.02, 61.19)
CIE-LCHlch(77.10, 61.72, 97.46°)
OKLaboklab(79.99% -0.0275 0.1378)
OKLCHoklch(79.99% 0.141 101.3)
XYZxyz(46.2516, 51.6988, 13.3358)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C046 #4657D1
analogous
#D17B46 #D1C046 #9CD146
triadic
#D1C046 #46D1C0 #C046D1
tetradic
#D1C046 #46D17B #4657D1 #D1469C
square
#D1C046 #46D17B #4657D1 #D1469C
split-complementary
#D1C046 #469CD1 #7B46D1
monochromatic
#7D721F #AE9E2B #D1C046 #DDD177 #E9E1A8

Accessibility & contrast

On white

1.85
#D1C046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D1C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C046
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C046#FFFFFF#000000##000000
##D1C0461.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA36
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#E0B3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1c046;
/* rgb */ color: rgb(209, 192, 70);
/* oklch */ color: oklch(80.0% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2d280',
    500: '#d1c046',
    950: '#000000',
  },
}
SCSS
$custom: #d1c046;
$custom-light: #e2d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c046",
  "rgb": {
    "r": 209,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 52.662,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79985,
    "c": 0.14053,
    "h": 101.3
  },
  "luminance": 0.51697
}

Semantic roles & 50–950 ramp

primary
#D1C046
secondary
#364085
accent
#58E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C046

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

Preview Lab → · Contrast checker → · Palette generator →

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