#D1C343#D1C343

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

Color values

HEX#D1C343
RGBrgb(209, 195, 67)
HSLhsl(54, 61%, 54%)
HSVhsv(54, 68%, 82%)
CMYKcmyk(0%, 6.7%, 67.9%, 18%)
CIE-LABlab(77.87, -9.72, 63.18)
CIE-LCHlch(77.87, 63.93, 98.75°)
OKLaboklab(80.59% -0.0327 0.1415)
OKLCHoklch(80.59% 0.145 103)
XYZxyz(46.8247, 52.9927, 13.0712)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C343 #4351D1
analogous
#D17C43 #D1C343 #98D143
triadic
#D1C343 #43D1C3 #C343D1
tetradic
#D1C343 #43D17C #4351D1 #D14398
square
#D1C343 #43D17C #4351D1 #D14398
split-complementary
#D1C343 #4398D1 #7C43D1
monochromatic
#7B721E #ADA02A #D1C343 #DDD374 #E9E2A5

Accessibility & contrast

On white

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

On black

11.60
#D1C343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C343
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C343#FFFFFF#000000##000000
##D1C3431.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD31
Deuteranopia (green-blind)
#D9C34B
Tritanopia (blue-blind)
#E0B6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c343;
/* rgb */ color: rgb(209, 195, 67);
/* oklch */ color: oklch(80.6% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e3d47e',
    500: '#d1c343',
    950: '#000000',
  },
}
SCSS
$custom: #d1c343;
$custom-light: #e3d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c343",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 54.085,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8059,
    "c": 0.14524,
    "h": 103
  },
  "luminance": 0.52991
}

Semantic roles & 50–950 ramp

primary
#D1C343
secondary
#353D83
accent
#54E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C343

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

Preview Lab → · Contrast checker → · Palette generator →

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