#D3CD47#D3CD47

#D3CD47 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.151 H 106.8°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D3CD47
RGBrgb(211, 205, 71)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 2.8%, 66.4%, 17.3%)
CIE-LABlab(80.72, -13.72, 64.57)
CIE-LCHlch(80.72, 66.01, 102.00°)
OKLaboklab(82.91% -0.0437 0.145)
OKLCHoklch(82.91% 0.151 106.8)
XYZxyz(49.8344, 57.9681, 14.5239)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD47 #474DD3
analogous
#D38747 #D3CD47 #93D347
triadic
#D3CD47 #47D3CD #CD47D3
tetradic
#D3CD47 #47D387 #474DD3 #D34793
square
#D3CD47 #47D387 #474DD3 #D34793
split-complementary
#D3CD47 #4793D3 #8747D3
monochromatic
#817D1F #B2AC2B #D3CD47 #DFDA78 #EBE8AA

Accessibility & contrast

On white

1.67
#D3CD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D3CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD47
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD47#FFFFFF#000000##000000
##D3CD471.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC534
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#E2C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd47;
/* rgb */ color: rgb(211, 205, 71);
/* oklch */ color: oklch(82.9% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#e4dc81',
    500: '#d3cd47',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd47;
$custom-light: #e4dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd47",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 57.429,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82908,
    "c": 0.15147,
    "h": 106.8
  },
  "luminance": 0.57966
}

Semantic roles & 50–950 ramp

primary
#D3CD47
secondary
#363A88
accent
#4AE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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