#D3C93C#D3C93C

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

Color values

HEX#D3C93C
RGBrgb(211, 201, 60)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 72%, 83%)
CMYKcmyk(0%, 4.7%, 71.6%, 17.3%)
CIE-LABlab(79.59, -12.27, 67.56)
CIE-LCHlch(79.59, 68.67, 100.29°)
OKLaboklab(81.98% -0.0407 0.1495)
OKLCHoklch(81.98% 0.155 105.2)
XYZxyz(48.5682, 55.9503, 12.5152)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C93C #3C46D3
analogous
#D37D3C #D3C93C #92D33C
triadic
#D3C93C #3CD3C9 #C93CD3
tetradic
#D3C93C #3CD37D #3C46D3 #D33C92
square
#D3C93C #3CD37D #3C46D3 #D33C92
split-complementary
#D3C93C #3C92D3 #7D3CD3
monochromatic
#79731B #ABA227 #D3C93C #DED76E #EAE5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C93C#FFFFFF#000000##000000
##D3C93C1.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)
#DBC223
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#E3BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c93c;
/* rgb */ color: rgb(211, 201, 60);
/* oklch */ color: oklch(82.0% 0.155 105.2);
Tailwind
colors: {
  custom: {
    50: '#e4d97b',
    500: '#d3c93c',
    950: '#000000',
  },
}
SCSS
$custom: #d3c93c;
$custom-light: #e4d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c93c",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 56.026,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81981,
    "c": 0.15492,
    "h": 105.2
  },
  "luminance": 0.55948
}

Semantic roles & 50–950 ramp

primary
#D3C93C
secondary
#323781
accent
#4CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C93C

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

Preview Lab → · Contrast checker → · Palette generator →

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