#D1C741#D1C741

#D1C741 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.150 H 105.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D1C741
RGBrgb(209, 199, 65)
HSLhsl(56, 61%, 54%)
HSVhsv(56, 69%, 82%)
CMYKcmyk(0%, 4.8%, 68.9%, 18%)
CIE-LABlab(78.92, -11.86, 65.01)
CIE-LCHlch(78.92, 66.08, 100.34°)
OKLaboklab(81.42% -0.039 0.145)
OKLCHoklch(81.42% 0.15 105)
XYZxyz(47.6740, 54.7856, 13.0634)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C741 #414BD1
analogous
#D17F41 #D1C741 #93D141
triadic
#D1C741 #41D1C7 #C741D1
tetradic
#D1C741 #41D17F #414BD1 #D14193
square
#D1C741 #41D17F #414BD1 #D14193
split-complementary
#D1C741 #4193D1 #7F41D1
monochromatic
#7A741E #ABA229 #D1C741 #DDD672 #E9E4A4

Accessibility & contrast

On white

1.76
#D1C741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D1C741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C741
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C741#FFFFFF#000000##000000
##D1C7411.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#E0BAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c741;
/* rgb */ color: rgb(209, 199, 65);
/* oklch */ color: oklch(81.4% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e3d77d',
    500: '#d1c741',
    950: '#000000',
  },
}
SCSS
$custom: #d1c741;
$custom-light: #e3d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c741",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 55.833,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81419,
    "c": 0.15016,
    "h": 105
  },
  "luminance": 0.54784
}

Semantic roles & 50–950 ramp

primary
#D1C741
secondary
#343A82
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C741

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

Preview Lab → · Contrast checker → · Palette generator →

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