#D3C043#D3C043

#D3C043 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.143 H 100.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D3C043
RGBrgb(211, 192, 67)
HSLhsl(52, 62%, 55%)
HSVhsv(52, 68%, 83%)
CMYKcmyk(0%, 9%, 68.2%, 17.3%)
CIE-LABlab(77.25, -7.33, 62.61)
CIE-LCHlch(77.25, 63.04, 96.68°)
OKLaboklab(80.14% -0.026 0.1402)
OKLCHoklch(80.14% 0.143 100.5)
XYZxyz(46.7288, 51.9555, 12.8761)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C043 #4356D3
analogous
#D37843 #D3C043 #9ED343
triadic
#D3C043 #43D3C0 #C043D3
tetradic
#D3C043 #43D378 #4356D3 #D3439E
square
#D3C043 #43D378 #4356D3 #D3439E
split-complementary
#D3C043 #439ED3 #7843D3
monochromatic
#7E711E #B09E29 #D3C043 #DFD175 #EAE1A6

Accessibility & contrast

On white

1.84
#D3C043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#D3C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C043
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C043#FFFFFF#000000##000000
##D3C0431.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#E3B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c043;
/* rgb */ color: rgb(211, 192, 67);
/* oklch */ color: oklch(80.1% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#e4d27e',
    500: '#d3c043',
    950: '#000000',
  },
}
SCSS
$custom: #d3c043;
$custom-light: #e4d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c043",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 52.083,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80142,
    "c": 0.14264,
    "h": 100.5
  },
  "luminance": 0.51953
}

Semantic roles & 50–950 ramp

primary
#D3C043
secondary
#353F86
accent
#58E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C043

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

Preview Lab → · Contrast checker → · Palette generator →

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