#D3C256#D3C256

#D3C256 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.130 H 100.4°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D3C256
RGBrgb(211, 194, 86)
HSLhsl(52, 59%, 58%)
HSVhsv(52, 59%, 83%)
CMYKcmyk(0%, 8.1%, 59.2%, 17.3%)
CIE-LABlab(77.94, -7.18, 55.26)
CIE-LCHlch(77.94, 55.73, 97.40°)
OKLaboklab(80.74% -0.0235 0.1275)
OKLCHoklch(80.74% 0.13 100.4)
XYZxyz(47.8373, 53.1063, 16.5330)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C256 #5667D3
analogous
#D38356 #D3C256 #A5D356
triadic
#D3C256 #56D3C2 #C256D3
tetradic
#D3C256 #56D383 #5667D3 #D356A5
square
#D3C256 #56D383 #5667D3 #D356A5
split-complementary
#D3C256 #56A5D3 #8356D3
monochromatic
#8B7D24 #BBA831 #D3C256 #E0D487 #ECE5B7

Accessibility & contrast

On white

1.81
#D3C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#D3C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C256
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C256#FFFFFF#000000##000000
##D3C2561.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4A
Deuteranopia (green-blind)
#D7C45B
Tritanopia (blue-blind)
#E2B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c256;
/* rgb */ color: rgb(211, 194, 86);
/* oklch */ color: oklch(80.7% 0.130 100.4);
Tailwind
colors: {
  custom: {
    50: '#e3d489',
    500: '#d3c256',
    950: '#000000',
  },
}
SCSS
$custom: #d3c256;
$custom-light: #e3d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c256",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 51.84,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80735,
    "c": 0.12961,
    "h": 100.4
  },
  "luminance": 0.53104
}

Semantic roles & 50–950 ramp

primary
#D3C256
secondary
#3C4891
accent
#5BE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C256

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

Preview Lab → · Contrast checker → · Palette generator →

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