#D1C93E#D1C93E

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

Color values

HEX#D1C93E
RGBrgb(209, 201, 62)
HSLhsl(57, 62%, 53%)
HSVhsv(57, 70%, 82%)
CMYKcmyk(0%, 3.8%, 70.3%, 18%)
CIE-LABlab(79.43, -13.02, 66.63)
CIE-LCHlch(79.43, 67.89, 101.06°)
OKLaboklab(81.82% -0.0425 0.1479)
OKLCHoklch(81.82% 0.154 106)
XYZxyz(48.0525, 55.6781, 12.7723)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C93E #3E46D1
analogous
#D1803E #D1C93E #8FD13E
triadic
#D1C93E #3ED1C9 #C93ED1
tetradic
#D1C93E #3ED180 #3E46D1 #D13E8F
square
#D1C93E #3ED180 #3E46D1 #D13E8F
split-complementary
#D1C93E #3E8FD1 #803ED1
monochromatic
#78731D #A9A228 #D1C93E #DDD76F #E9E5A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C93E#FFFFFF#000000##000000
##D1C93E1.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)
#DAC227
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#E0BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c93e;
/* rgb */ color: rgb(209, 201, 62);
/* oklch */ color: oklch(81.8% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3d97c',
    500: '#d1c93e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c93e;
$custom-light: #e3d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c93e",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 56.735,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81821,
    "c": 0.15393,
    "h": 106
  },
  "luminance": 0.55676
}

Semantic roles & 50–950 ramp

primary
#D1C93E
secondary
#333780
accent
#4CE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C93E

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

Preview Lab → · Contrast checker → · Palette generator →

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