#D3C145#D3C145

#D3C145 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.142 H 100.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D3C145
RGBrgb(211, 193, 69)
HSLhsl(52, 62%, 55%)
HSVhsv(52, 67%, 83%)
CMYKcmyk(0%, 8.5%, 67.3%, 17.3%)
CIE-LABlab(77.53, -7.74, 62.10)
CIE-LCHlch(77.53, 62.58, 97.10°)
OKLaboklab(80.37% -0.027 0.1395)
OKLCHoklch(80.37% 0.142 100.9)
XYZxyz(47.0101, 52.4205, 13.2710)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C145 #4557D3
analogous
#D37A45 #D3C145 #9ED345
triadic
#D3C145 #45D3C1 #C145D3
tetradic
#D3C145 #45D37A #4557D3 #D3459E
square
#D3C145 #45D37A #4557D3 #D3459E
split-complementary
#D3C145 #459ED3 #7A45D3
monochromatic
#7F731E #B1A02A #D3C145 #DFD176 #EAE2A8

Accessibility & contrast

On white

1.83
#D3C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D3C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C145
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C145#FFFFFF#000000##000000
##D3C1451.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB34
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c145;
/* rgb */ color: rgb(211, 193, 69);
/* oklch */ color: oklch(80.4% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#e4d37f',
    500: '#d3c145',
    950: '#000000',
  },
}
SCSS
$custom: #d3c145;
$custom-light: #e4d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c145",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 52.394,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80367,
    "c": 0.14207,
    "h": 100.9
  },
  "luminance": 0.52418
}

Semantic roles & 50–950 ramp

primary
#D3C145
secondary
#354087
accent
#57E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C145

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

Preview Lab → · Contrast checker → · Palette generator →

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