#D3CA45#D3CA45

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

Color values

HEX#D3CA45
RGBrgb(211, 202, 69)
HSLhsl(56, 62%, 55%)
HSVhsv(56, 67%, 83%)
CMYKcmyk(0%, 4.3%, 67.3%, 17.3%)
CIE-LABlab(79.91, -12.32, 64.53)
CIE-LCHlch(79.91, 65.69, 100.81°)
OKLaboklab(82.26% -0.04 0.1446)
OKLCHoklch(82.26% 0.15 105.5)
XYZxyz(49.0606, 56.5214, 13.9545)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA45 #454ED3
analogous
#D38345 #D3CA45 #95D345
triadic
#D3CA45 #45D3CA #CA45D3
tetradic
#D3CA45 #45D383 #454ED3 #D34595
square
#D3CA45 #45D383 #454ED3 #D34595
split-complementary
#D3CA45 #4595D3 #8345D3
monochromatic
#7F791E #B1A82A #D3CA45 #DFD876 #EAE6A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CA45#FFFFFF#000000##000000
##D3CA451.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)
#DBC332
Deuteranopia (green-blind)
#DEC94E
Tritanopia (blue-blind)
#E2BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca45;
/* rgb */ color: rgb(211, 202, 69);
/* oklch */ color: oklch(82.3% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#e4d980',
    500: '#d3ca45',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca45;
$custom-light: #e4d980;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca45",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 56.197,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82257,
    "c": 0.15003,
    "h": 105.5
  },
  "luminance": 0.5652
}

Semantic roles & 50–950 ramp

primary
#D3CA45
secondary
#353B87
accent
#4DE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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