#D4C14C#D4C14C

#D4C14C is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.137 H 100.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D4C14C
RGBrgb(212, 193, 76)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 9%, 64.2%, 16.9%)
CIE-LABlab(77.67, -6.91, 59.38)
CIE-LCHlch(77.67, 59.78, 96.63°)
OKLaboklab(80.52% -0.0239 0.1348)
OKLCHoklch(80.52% 0.137 100)
XYZxyz(47.5278, 52.6608, 14.4971)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C14C #4C5FD4
analogous
#D47D4C #D4C14C #A3D44C
triadic
#D4C14C #4CD4C1 #C14CD4
tetradic
#D4C14C #4CD47D #4C5FD4 #D44CA3
square
#D4C14C #4CD47D #4C5FD4 #D44CA3
split-complementary
#D4C14C #4CA3D4 #7D4CD4
monochromatic
#867720 #B7A32C #D4C14C #E0D27D #ECE3AF

Accessibility & contrast

On white

1.82
#D4C14C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D4C14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C14C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C14C#FFFFFF#000000##000000
##D4C14C1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3E
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#E4B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c14c;
/* rgb */ color: rgb(212, 193, 76);
/* oklch */ color: oklch(80.5% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#e4d383',
    500: '#d4c14c',
    950: '#000000',
  },
}
SCSS
$custom: #d4c14c;
$custom-light: #e4d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c14c",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 76
  },
  "hsl": {
    "h": 51.618,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80519,
    "c": 0.13691,
    "h": 100
  },
  "luminance": 0.52659
}

Semantic roles & 50–950 ramp

primary
#D4C14C
secondary
#38448C
accent
#5AE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C14C

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

Preview Lab → · Contrast checker → · Palette generator →

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