#D3C643#D3C643

#D3C643 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.148 H 103.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D3C643
RGBrgb(211, 198, 67)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 68%, 83%)
CMYKcmyk(0%, 6.2%, 68.2%, 17.3%)
CIE-LABlab(78.84, -10.40, 64.22)
CIE-LCHlch(78.84, 65.05, 99.20°)
OKLaboklab(81.4% -0.0348 0.1436)
OKLCHoklch(81.4% 0.148 103.6)
XYZxyz(48.0731, 54.6442, 13.3242)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C643 #4350D3
analogous
#D37E43 #D3C643 #98D343
triadic
#D3C643 #43D3C6 #C643D3
tetradic
#D3C643 #43D37E #4350D3 #D34398
square
#D3C643 #43D37E #4350D3 #D34398
split-complementary
#D3C643 #4398D3 #7E43D3
monochromatic
#7E751E #B0A429 #D3C643 #DFD575 #EAE4A6

Accessibility & contrast

On white

1.76
#D3C643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D3C643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C643
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C643#FFFFFF#000000##000000
##D3C6431.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C030
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#E3B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c643;
/* rgb */ color: rgb(211, 198, 67);
/* oklch */ color: oklch(81.4% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#e4d77f',
    500: '#d3c643',
    950: '#000000',
  },
}
SCSS
$custom: #d3c643;
$custom-light: #e4d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c643",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 54.583,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.14776,
    "h": 103.6
  },
  "luminance": 0.54642
}

Semantic roles & 50–950 ramp

primary
#D3C643
secondary
#353C86
accent
#51E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C643

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

Preview Lab → · Contrast checker → · Palette generator →

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