#D3C14A#D3C14A

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

Color values

HEX#D3C14A
RGBrgb(211, 193, 74)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 65%, 83%)
CMYKcmyk(0%, 8.5%, 64.9%, 17.3%)
CIE-LABlab(77.57, -7.45, 60.09)
CIE-LCHlch(77.57, 60.55, 97.07°)
OKLaboklab(80.41% -0.0256 0.136)
OKLCHoklch(80.41% 0.138 100.7)
XYZxyz(47.1719, 52.4853, 14.1232)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C14A #4A5CD3
analogous
#D37C4A #D3C14A #A0D34A
triadic
#D3C14A #4AD3C1 #C14AD3
tetradic
#D3C14A #4AD37C #4A5CD3 #D34AA0
square
#D3C14A #4AD37C #4A5CD3 #D34AA0
split-complementary
#D3C14A #4AA0D3 #7C4AD3
monochromatic
#837620 #B4A22C #D3C14A #DFD27B #EBE3AC

Accessibility & contrast

On white

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

On black

11.50
#D3C14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C14A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C14A#FFFFFF#000000##000000
##D3C14A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c14a;
/* rgb */ color: rgb(211, 193, 74);
/* oklch */ color: oklch(80.4% 0.138 100.7);
Tailwind
colors: {
  custom: {
    50: '#e4d382',
    500: '#d3c14a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c14a;
$custom-light: #e4d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c14a",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 74
  },
  "hsl": {
    "h": 52.117,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8041,
    "c": 0.13842,
    "h": 100.7
  },
  "luminance": 0.52483
}

Semantic roles & 50–950 ramp

primary
#D3C14A
secondary
#37428A
accent
#59E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C14A

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

Preview Lab → · Contrast checker → · Palette generator →

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