#D1C246#D1C246

#D1C246 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.142 H 102.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D1C246
RGBrgb(209, 194, 70)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 7.2%, 66.5%, 18%)
CIE-LABlab(77.63, -9.04, 61.74)
CIE-LCHlch(77.63, 62.40, 98.33°)
OKLaboklab(80.4% -0.0305 0.139)
OKLCHoklch(80.4% 0.142 102.4)
XYZxyz(46.6937, 52.5830, 13.4831)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C246 #4655D1
analogous
#D17C46 #D1C246 #9BD146
triadic
#D1C246 #46D1C2 #C246D1
tetradic
#D1C246 #46D17C #4655D1 #D1469B
square
#D1C246 #46D17C #4655D1 #D1469B
split-complementary
#D1C246 #469BD1 #7C46D1
monochromatic
#7D731F #AEA02B #D1C246 #DDD277 #E9E2A8

Accessibility & contrast

On white

1.82
#D1C246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D1C246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C246
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C246#FFFFFF#000000##000000
##D1C2461.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E0B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c246;
/* rgb */ color: rgb(209, 194, 70);
/* oklch */ color: oklch(80.4% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#e2d480',
    500: '#d1c246',
    950: '#000000',
  },
}
SCSS
$custom: #d1c246;
$custom-light: #e2d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c246",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 53.525,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80404,
    "c": 0.14225,
    "h": 102.4
  },
  "luminance": 0.52581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C246

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

Preview Lab → · Contrast checker → · Palette generator →

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