#D1C93F#D1C93F

#D1C93F is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.153 H 106.0°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D1C93F
RGBrgb(209, 201, 63)
HSLhsl(57, 61%, 53%)
HSVhsv(57, 70%, 82%)
CMYKcmyk(0%, 3.8%, 69.9%, 18%)
CIE-LABlab(79.44, -12.97, 66.27)
CIE-LCHlch(79.44, 67.53, 101.07°)
OKLaboklab(81.83% -0.0423 0.1473)
OKLCHoklch(81.83% 0.153 106)
XYZxyz(48.0802, 55.6892, 12.9181)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C93F #3F47D1
analogous
#D1803F #D1C93F #90D13F
triadic
#D1C93F #3FD1C9 #C93FD1
tetradic
#D1C93F #3FD180 #3F47D1 #D13F90
square
#D1C93F #3FD180 #3F47D1 #D13F90
split-complementary
#D1C93F #3F90D1 #803FD1
monochromatic
#79741D #AAA329 #D1C93F #DDD770 #E9E5A2

Accessibility & contrast

On white

1.73
#D1C93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D1C93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C93F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C93F#FFFFFF#000000##000000
##D1C93F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC229
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#E0BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c93f;
/* rgb */ color: rgb(209, 201, 63);
/* oklch */ color: oklch(81.8% 0.153 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3d97d',
    500: '#d1c93f',
    950: '#000000',
  },
}
SCSS
$custom: #d1c93f;
$custom-light: #e3d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c93f",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 56.712,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81828,
    "c": 0.15329,
    "h": 106
  },
  "luminance": 0.55687
}

Semantic roles & 50–950 ramp

primary
#D1C93F
secondary
#333881
accent
#4CE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C93F

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

Preview Lab → · Contrast checker → · Palette generator →

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