#D4C950#D4C950

#D4C950 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.141 H 104.1°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D4C950
RGBrgb(212, 201, 80)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 62%, 83%)
CMYKcmyk(0%, 5.2%, 62.3%, 16.9%)
CIE-LABlab(79.81, -10.74, 59.97)
CIE-LCHlch(79.81, 60.92, 100.16°)
OKLaboklab(82.23% -0.0344 0.1366)
OKLCHoklch(82.23% 0.141 104.1)
XYZxyz(49.4878, 56.3513, 15.8580)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C950 #505BD4
analogous
#D48750 #D4C950 #9DD450
triadic
#D4C950 #50D4C9 #C950D4
tetradic
#D4C950 #50D487 #505BD4 #D4509D
square
#D4C950 #50D487 #505BD4 #D4509D
split-complementary
#D4C950 #509DD4 #8750D4
monochromatic
#888021 #B9AE2E #D4C950 #E0D881 #ECE7B2

Accessibility & contrast

On white

1.71
#D4C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D4C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C950
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C950#FFFFFF#000000##000000
##D4C9501.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC242
Deuteranopia (green-blind)
#DDC957
Tritanopia (blue-blind)
#E3BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4c950;
/* rgb */ color: rgb(212, 201, 80);
/* oklch */ color: oklch(82.2% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#e4d986',
    500: '#d4c950',
    950: '#000000',
  },
}
SCSS
$custom: #d4c950;
$custom-light: #e4d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c950",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 55,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82228,
    "c": 0.1409,
    "h": 104.1
  },
  "luminance": 0.5635
}

Semantic roles & 50–950 ramp

primary
#D4C950
secondary
#3A418F
accent
#51E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C950

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

Preview Lab → · Contrast checker → · Palette generator →

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