#D3CC3E#D3CC3E

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

Color values

HEX#D3CC3E
RGBrgb(211, 204, 62)
HSLhsl(57, 63%, 54%)
HSVhsv(57, 71%, 83%)
CMYKcmyk(0%, 3.3%, 70.6%, 17.3%)
CIE-LABlab(80.40, -13.68, 67.63)
CIE-LCHlch(80.40, 69.00, 101.44°)
OKLaboklab(82.63% -0.0445 0.15)
OKLCHoklch(82.63% 0.156 106.5)
XYZxyz(49.3283, 57.3842, 13.0343)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC3E #3E45D3
analogous
#D3813E #D3CC3E #8FD33E
triadic
#D3CC3E #3ED3CC #CC3ED3
tetradic
#D3CC3E #3ED381 #3E45D3 #D33E8F
square
#D3CC3E #3ED381 #3E45D3 #D33E8F
split-complementary
#D3CC3E #3E8FD3 #813ED3
monochromatic
#7B761C #ACA627 #D3CC3E #DED970 #EAE6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CC3E#FFFFFF#000000##000000
##D3CC3E1.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)
#DDC426
Deuteranopia (green-blind)
#E0CA48
Tritanopia (blue-blind)
#E2BFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cc3e;
/* rgb */ color: rgb(211, 204, 62);
/* oklch */ color: oklch(82.6% 0.156 106.5);
Tailwind
colors: {
  custom: {
    50: '#e4db7c',
    500: '#d3cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc3e;
$custom-light: #e4db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc3e",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 57.181,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82629,
    "c": 0.15644,
    "h": 106.5
  },
  "luminance": 0.57382
}

Semantic roles & 50–950 ramp

primary
#D3CC3E
secondary
#333682
accent
#4AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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