#D3C14D#D3C14D

#D3C14D is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.136 H 100.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D3C14D
RGBrgb(211, 193, 77)
HSLhsl(52, 60%, 56%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 8.5%, 63.5%, 17.3%)
CIE-LABlab(77.59, -7.27, 58.84)
CIE-LCHlch(77.59, 59.29, 97.04°)
OKLaboklab(80.44% -0.0247 0.1339)
OKLCHoklch(80.44% 0.136 100.5)
XYZxyz(47.2754, 52.5266, 14.6682)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C14D #4D5FD3
analogous
#D37E4D #D3C14D #A2D34D
triadic
#D3C14D #4DD3C1 #C14DD3
tetradic
#D3C14D #4DD37E #4D5FD3 #D34DA2
square
#D3C14D #4DD37E #4D5FD3 #D34DA2
split-complementary
#D3C14D #4DA2D3 #7E4DD3
monochromatic
#857721 #B6A32D #D3C14D #DFD27E #EBE3AF

Accessibility & contrast

On white

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

On black

11.51
#D3C14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C14D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C14D#FFFFFF#000000##000000
##D3C14D1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3F
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#E2B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c14d;
/* rgb */ color: rgb(211, 193, 77);
/* oklch */ color: oklch(80.4% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#e4d384',
    500: '#d3c14d',
    950: '#000000',
  },
}
SCSS
$custom: #d3c14d;
$custom-light: #e4d384;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c14d",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 51.94,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80437,
    "c": 0.13612,
    "h": 100.5
  },
  "luminance": 0.52525
}

Semantic roles & 50–950 ramp

primary
#D3C14D
secondary
#39448C
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C14D

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

Preview Lab → · Contrast checker → · Palette generator →

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