#D3CC3C#D3CC3C

#D3CC3C is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.158 H 106.6°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D3CC3C
RGBrgb(211, 204, 60)
HSLhsl(57, 63%, 53%)
HSVhsv(57, 72%, 83%)
CMYKcmyk(0%, 3.3%, 71.6%, 17.3%)
CIE-LABlab(80.38, -13.78, 68.33)
CIE-LCHlch(80.38, 69.70, 101.40°)
OKLaboklab(82.62% -0.045 0.1511)
OKLCHoklch(82.62% 0.158 106.6)
XYZxyz(49.2744, 57.3626, 12.7506)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC3C #3C43D3
analogous
#D3813C #D3CC3C #8ED33C
triadic
#D3CC3C #3CD3CC #CC3CD3
tetradic
#D3CC3C #3CD381 #3C43D3 #D33C8E
square
#D3CC3C #3CD381 #3C43D3 #D33C8E
split-complementary
#D3CC3C #3C8ED3 #813CD3
monochromatic
#79751B #ABA527 #D3CC3C #DED96E #EAE6A0

Accessibility & contrast

On white

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

On black

12.47
#D3CC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC3C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC3C#FFFFFF#000000##000000
##D3CC3C1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC422
Deuteranopia (green-blind)
#E0CA46
Tritanopia (blue-blind)
#E2BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cc3c;
/* rgb */ color: rgb(211, 204, 60);
/* oklch */ color: oklch(82.6% 0.158 106.6);
Tailwind
colors: {
  custom: {
    50: '#e4db7b',
    500: '#d3cc3c',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc3c;
$custom-light: #e4db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc3c",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 57.219,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82616,
    "c": 0.15765,
    "h": 106.6
  },
  "luminance": 0.57361
}

Semantic roles & 50–950 ramp

primary
#D3CC3C
secondary
#323681
accent
#49E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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