#D1C245#D1C245

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

Color values

HEX#D1C245
RGBrgb(209, 194, 69)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 7.2%, 67%, 18%)
CIE-LABlab(77.62, -9.10, 62.14)
CIE-LCHlch(77.62, 62.80, 98.33°)
OKLaboklab(80.4% -0.0307 0.1396)
OKLCHoklch(80.4% 0.143 102.4)
XYZxyz(46.6624, 52.5705, 13.3183)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C245 #4554D1
analogous
#D17C45 #D1C245 #9AD145
triadic
#D1C245 #45D1C2 #C245D1
tetradic
#D1C245 #45D17C #4554D1 #D1459A
square
#D1C245 #45D17C #4554D1 #D1459A
split-complementary
#D1C245 #459AD1 #7C45D1
monochromatic
#7D731F #AEA02B #D1C245 #DDD276 #E9E2A7

Accessibility & contrast

On white

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

On black

11.51
#D1C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C245
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C245#FFFFFF#000000##000000
##D1C2451.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c245;
/* rgb */ color: rgb(209, 194, 69);
/* oklch */ color: oklch(80.4% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e2d47f',
    500: '#d1c245',
    950: '#000000',
  },
}
SCSS
$custom: #d1c245;
$custom-light: #e2d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c245",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 53.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80396,
    "c": 0.14296,
    "h": 102.4
  },
  "luminance": 0.52569
}

Semantic roles & 50–950 ramp

primary
#D1C245
secondary
#363E84
accent
#55E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C245

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

Preview Lab → · Contrast checker → · Palette generator →

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