#D3C951#D3C951

#D3C951 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.140 H 104.5°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D3C951
RGBrgb(211, 201, 81)
HSLhsl(55, 60%, 57%)
HSVhsv(55, 62%, 83%)
CMYKcmyk(0%, 4.7%, 61.6%, 17.3%)
CIE-LABlab(79.74, -11.10, 59.44)
CIE-LCHlch(79.74, 60.46, 100.58°)
OKLaboklab(82.15% -0.0352 0.1357)
OKLCHoklch(82.15% 0.14 104.5)
XYZxyz(49.2376, 56.2180, 16.0405)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C951 #515BD3
analogous
#D38851 #D3C951 #9CD351
triadic
#D3C951 #51D3C9 #C951D3
tetradic
#D3C951 #51D388 #515BD3 #D3519C
square
#D3C951 #51D388 #515BD3 #D3519C
split-complementary
#D3C951 #519CD3 #8851D3
monochromatic
#878022 #B8AE2F #D3C951 #DFD882 #ECE7B3

Accessibility & contrast

On white

1.72
#D3C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D3C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C951
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C951#FFFFFF#000000##000000
##D3C9511.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#E2BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c951;
/* rgb */ color: rgb(211, 201, 81);
/* oklch */ color: oklch(82.2% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e3d987',
    500: '#d3c951',
    950: '#000000',
  },
}
SCSS
$custom: #d3c951;
$custom-light: #e3d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c951",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 55.385,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8215,
    "c": 0.14017,
    "h": 104.5
  },
  "luminance": 0.56216
}

Semantic roles & 50–950 ramp

primary
#D3C951
secondary
#3A418E
accent
#51E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C951

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

Preview Lab → · Contrast checker → · Palette generator →

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