#D3CA42#D3CA42

#D3CA42 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.152 H 105.5°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D3CA42
RGBrgb(211, 202, 66)
HSLhsl(56, 62%, 54%)
HSVhsv(56, 69%, 83%)
CMYKcmyk(0%, 4.3%, 68.7%, 17.3%)
CIE-LABlab(79.89, -12.48, 65.66)
CIE-LCHlch(79.89, 66.83, 100.76°)
OKLaboklab(82.24% -0.0407 0.1465)
OKLCHoklch(82.24% 0.152 105.5)
XYZxyz(48.9698, 56.4851, 13.4764)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA42 #424BD3
analogous
#D38242 #D3CA42 #94D342
triadic
#D3CA42 #42D3CA #CA42D3
tetradic
#D3CA42 #42D382 #424BD3 #D34294
square
#D3CA42 #42D382 #424BD3 #D34294
split-complementary
#D3CA42 #4294D3 #8242D3
monochromatic
#7D771D #AFA729 #D3CA42 #DFD874 #EAE6A5

Accessibility & contrast

On white

1.71
#D3CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D3CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA42
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA42#FFFFFF#000000##000000
##D3CA421.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32D
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#E2BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca42;
/* rgb */ color: rgb(211, 202, 66);
/* oklch */ color: oklch(82.2% 0.152 105.5);
Tailwind
colors: {
  custom: {
    50: '#e4d97e',
    500: '#d3ca42',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca42;
$custom-light: #e4d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca42",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 56.276,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82235,
    "c": 0.15205,
    "h": 105.5
  },
  "luminance": 0.56483
}

Semantic roles & 50–950 ramp

primary
#D3CA42
secondary
#343985
accent
#4DE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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