#D3CC41#D3CC41

#D3CC41 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.155 H 106.5°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D3CC41
RGBrgb(211, 204, 65)
HSLhsl(57, 62%, 54%)
HSVhsv(57, 69%, 83%)
CMYKcmyk(0%, 3.3%, 69.2%, 17.3%)
CIE-LABlab(80.41, -13.54, 66.55)
CIE-LCHlch(80.41, 67.91, 101.50°)
OKLaboklab(82.65% -0.0438 0.1482)
OKLCHoklch(82.65% 0.155 106.5)
XYZxyz(49.4129, 57.4180, 13.4799)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC41 #4148D3
analogous
#D38341 #D3CC41 #91D341
triadic
#D3CC41 #41D3CC #CC41D3
tetradic
#D3CC41 #41D383 #4148D3 #D34191
square
#D3CC41 #41D383 #4148D3 #D34191
split-complementary
#D3CC41 #4191D3 #8341D3
monochromatic
#7D781D #AEA828 #D3CC41 #DFD973 #EAE7A4

Accessibility & contrast

On white

1.68
#D3CC41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D3CC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC41
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC41#FFFFFF#000000##000000
##D3CC411.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42B
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#E2BFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cc41;
/* rgb */ color: rgb(211, 204, 65);
/* oklch */ color: oklch(82.7% 0.155 106.5);
Tailwind
colors: {
  custom: {
    50: '#e4db7e',
    500: '#d3cc41',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc41;
$custom-light: #e4db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc41",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 57.123,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82651,
    "c": 0.15455,
    "h": 106.5
  },
  "luminance": 0.57416
}

Semantic roles & 50–950 ramp

primary
#D3CC41
secondary
#343884
accent
#4AE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CC41

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

Preview Lab → · Contrast checker → · Palette generator →

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