#D3C93A#D3C93A

#D3C93A is a light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.156 H 105.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D3C93A
RGBrgb(211, 201, 58)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 73%, 83%)
CMYKcmyk(0%, 4.7%, 72.5%, 17.3%)
CIE-LABlab(79.57, -12.36, 68.25)
CIE-LCHlch(79.57, 69.36, 100.27°)
OKLaboklab(81.97% -0.0412 0.1506)
OKLCHoklch(81.97% 0.156 105.3)
XYZxyz(48.5163, 55.9295, 12.2420)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C93A #3A44D3
analogous
#D37C3A #D3C93A #91D33A
triadic
#D3C93A #3AD3C9 #C93AD3
tetradic
#D3C93A #3AD37C #3A44D3 #D33A91
square
#D3C93A #3AD37C #3A44D3 #D33A91
split-complementary
#D3C93A #3A91D3 #7C3AD3
monochromatic
#78721B #AAA126 #D3C93A #DED76C #E9E49E

Accessibility & contrast

On white

1.72
#D3C93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D3C93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C93A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C93A#FFFFFF#000000##000000
##D3C93A1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#E3BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c93a;
/* rgb */ color: rgb(211, 201, 58);
/* oklch */ color: oklch(82.0% 0.156 105.3);
Tailwind
colors: {
  custom: {
    50: '#e4d97a',
    500: '#d3c93a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c93a;
$custom-light: #e4d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c93a",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 56.078,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81967,
    "c": 0.15611,
    "h": 105.3
  },
  "luminance": 0.55928
}

Semantic roles & 50–950 ramp

primary
#D3C93A
secondary
#313680
accent
#4CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C93A

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

Preview Lab → · Contrast checker → · Palette generator →

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