#D1C341#D1C341

#D1C341 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.147 H 103.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D1C341
RGBrgb(209, 195, 65)
HSLhsl(54, 61%, 54%)
HSVhsv(54, 69%, 82%)
CMYKcmyk(0%, 6.7%, 68.9%, 18%)
CIE-LABlab(77.86, -9.83, 63.95)
CIE-LCHlch(77.86, 64.70, 98.73°)
OKLaboklab(80.58% -0.0332 0.1428)
OKLCHoklch(80.58% 0.147 103.1)
XYZxyz(46.7657, 52.9691, 12.7607)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C341 #414FD1
analogous
#D17B41 #D1C341 #97D141
triadic
#D1C341 #41D1C3 #C341D1
tetradic
#D1C341 #41D17B #414FD1 #D14197
square
#D1C341 #41D17B #414FD1 #D14197
split-complementary
#D1C341 #4197D1 #7B41D1
monochromatic
#7A711E #AB9F29 #D1C341 #DDD372 #E9E2A4

Accessibility & contrast

On white

1.81
#D1C341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D1C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C341
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C341#FFFFFF#000000##000000
##D1C3411.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2E
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#E1B6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c341;
/* rgb */ color: rgb(209, 195, 65);
/* oklch */ color: oklch(80.6% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#e3d47d',
    500: '#d1c341',
    950: '#000000',
  },
}
SCSS
$custom: #d1c341;
$custom-light: #e3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c341",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 54.167,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80575,
    "c": 0.14659,
    "h": 103.1
  },
  "luminance": 0.52967
}

Semantic roles & 50–950 ramp

primary
#D1C341
secondary
#343C82
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C341

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

Preview Lab → · Contrast checker → · Palette generator →

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