#D3C14B#D3C14B

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

Color values

HEX#D3C14B
RGBrgb(211, 193, 75)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 8.5%, 64.5%, 17.3%)
CIE-LABlab(77.58, -7.39, 59.68)
CIE-LCHlch(77.58, 60.13, 97.06°)
OKLaboklab(80.42% -0.0253 0.1353)
OKLCHoklch(80.42% 0.138 100.6)
XYZxyz(47.2059, 52.4988, 14.3020)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C14B #4B5DD3
analogous
#D37D4B #D3C14B #A1D34B
triadic
#D3C14B #4BD3C1 #C14BD3
tetradic
#D3C14B #4BD37D #4B5DD3 #D34BA1
square
#D3C14B #4BD37D #4B5DD3 #D34BA1
split-complementary
#D3C14B #4BA1D3 #7D4BD3
monochromatic
#837620 #B5A32C #D3C14B #DFD27C #EBE3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C14B#FFFFFF#000000##000000
##D3C14B1.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)
#D2BC3C
Deuteranopia (green-blind)
#D7C352
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c14b;
/* rgb */ color: rgb(211, 193, 75);
/* oklch */ color: oklch(80.4% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#e4d383',
    500: '#d3c14b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c14b;
$custom-light: #e4d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c14b",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 52.059,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80419,
    "c": 0.13766,
    "h": 100.6
  },
  "luminance": 0.52497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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