#D1C249#D1C249

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

Color values

HEX#D1C249
RGBrgb(209, 194, 73)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.2%, 65.1%, 18%)
CIE-LABlab(77.65, -8.87, 60.54)
CIE-LCHlch(77.65, 61.18, 98.33°)
OKLaboklab(80.43% -0.0296 0.1369)
OKLCHoklch(80.43% 0.14 102.2)
XYZxyz(46.7908, 52.6218, 13.9944)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C249 #4958D1
analogous
#D17E49 #D1C249 #9CD149
triadic
#D1C249 #49D1C2 #C249D1
tetradic
#D1C249 #49D17E #4958D1 #D1499C
square
#D1C249 #49D17E #4958D1 #D1499C
split-complementary
#D1C249 #499CD1 #7E49D1
monochromatic
#7F7520 #B0A22D #D1C249 #DDD27A #EAE3AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C249#FFFFFF#000000##000000
##D1C2491.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)
#D3BC3A
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#E0B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c249;
/* rgb */ color: rgb(209, 194, 73);
/* oklch */ color: oklch(80.4% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2d482',
    500: '#d1c249',
    950: '#000000',
  },
}
SCSS
$custom: #d1c249;
$custom-light: #e2d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c249",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 53.382,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8043,
    "c": 0.14005,
    "h": 102.2
  },
  "luminance": 0.5262
}

Semantic roles & 50–950 ramp

primary
#D1C249
secondary
#374087
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C249

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

Preview Lab → · Contrast checker → · Palette generator →

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