#D4CD47#D4CD47

#D4CD47 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.151 H 106.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D4CD47
RGBrgb(212, 205, 71)
HSLhsl(57, 62%, 55%)
HSVhsv(57, 67%, 83%)
CMYKcmyk(0%, 3.3%, 66.5%, 16.9%)
CIE-LABlab(80.80, -13.30, 64.68)
CIE-LCHlch(80.80, 66.04, 101.62°)
OKLaboklab(82.99% -0.0426 0.1452)
OKLCHoklch(82.99% 0.151 106.3)
XYZxyz(50.1219, 58.1163, 14.5374)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD47 #474ED4
analogous
#D48647 #D4CD47 #95D447
triadic
#D4CD47 #47D4CD #CD47D4
tetradic
#D4CD47 #47D486 #474ED4 #D44795
square
#D4CD47 #47D486 #474ED4 #D44795
split-complementary
#D4CD47 #4795D4 #8647D4
monochromatic
#827D1E #B4AD2A #D4CD47 #E0DA79 #EBE8AA

Accessibility & contrast

On white

1.66
#D4CD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D4CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD47
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD47#FFFFFF#000000##000000
##D4CD471.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC634
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#E3C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd47;
/* rgb */ color: rgb(212, 205, 71);
/* oklch */ color: oklch(83.0% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc81',
    500: '#d4cd47',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd47;
$custom-light: #e5dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd47",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 57.021,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82994,
    "c": 0.15135,
    "h": 106.3
  },
  "luminance": 0.58115
}

Semantic roles & 50–950 ramp

primary
#D4CD47
secondary
#363A89
accent
#4BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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