#D3C843#D3C843

#D3C843 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.150 H 104.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D3C843
RGBrgb(211, 200, 67)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 68%, 83%)
CMYKcmyk(0%, 5.2%, 68.2%, 17.3%)
CIE-LABlab(79.37, -11.42, 64.75)
CIE-LCHlch(79.37, 65.75, 100.00°)
OKLaboklab(81.82% -0.0376 0.1448)
OKLCHoklch(81.82% 0.15 104.6)
XYZxyz(48.5333, 55.5645, 13.4776)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C843 #434ED3
analogous
#D38043 #D3C843 #96D343
triadic
#D3C843 #43D3C8 #C843D3
tetradic
#D3C843 #43D380 #434ED3 #D34396
square
#D3C843 #43D380 #434ED3 #D34396
split-complementary
#D3C843 #4396D3 #8043D3
monochromatic
#7E771E #B0A529 #D3C843 #DFD775 #EAE5A6

Accessibility & contrast

On white

1.73
#D3C843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D3C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C843
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C843#FFFFFF#000000##000000
##D3C8431.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#E2BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c843;
/* rgb */ color: rgb(211, 200, 67);
/* oklch */ color: oklch(81.8% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4d87f',
    500: '#d3c843',
    950: '#000000',
  },
}
SCSS
$custom: #d3c843;
$custom-light: #e4d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c843",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 55.417,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8182,
    "c": 0.14956,
    "h": 104.6
  },
  "luminance": 0.55563
}

Semantic roles & 50–950 ramp

primary
#D3C843
secondary
#353B86
accent
#4FE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C843

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

Preview Lab → · Contrast checker → · Palette generator →

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